Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use readline in place of process.stdout #654

Merged
merged 5 commits into from
Dec 18, 2023
Merged

Use readline in place of process.stdout #654

merged 5 commits into from
Dec 18, 2023

Conversation

zoeyTM
Copy link
Contributor

@zoeyTM zoeyTM commented Dec 13, 2023

  • replaced process.stdout in favor of native nodejs readline
  • also removed a redundant github workflow that ran integration tests separately since we run them as part of the top level npm test now

resolves #644

Bring back the default sender test that previously failed due to tty issues.
// This test exists to ensure Ignition succeeds in a CI environment.
// This is a test that the UI, runs even in constrained terminal environments.
// It should always pass locally.
describe("Running deployment in CI environment", function () {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done on the test.

Copy link
Member

@kanej kanej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good.

Lets (squash) merge this!

@zoeyTM zoeyTM merged commit 52d14b7 into development Dec 18, 2023
6 checks passed
@zoeyTM zoeyTM deleted the fix/clearline branch December 18, 2023 06:07
@zoeyTM zoeyTM mentioned this pull request Dec 19, 2023
zoeyTM added a commit that referenced this pull request Dec 19, 2023
* use readline in place of process.stdout

* add test for CI deployment

* remove redundant CI task

* test: bring back skipped test

Bring back the default sender test that previously failed due to tty issues.

* test: update test text

---------

Co-authored-by: John Kane <john@kanej.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

TypeError: process.stdout.clearLine is not a function
3 participants