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

ref(e2e): Add waitForStatusCode helper and use it in checkIfBuilds #766

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

andreiborza
Copy link
Member

@andreiborza andreiborza commented Jan 22, 2025

Recently, Nuxt started using consola which seems to not pipe output back to stdout which in turn made our e2e tests fail.

Rather that checking arbitrary strings frameworks output at the end of their build commands, we switch to checking that the build process exited with status code 0.

The other changes in this PR come from running the formatter.

#skip-changelog

…o look for

status code 0 instead of arbitrary stdout strings

Recently, Nuxt started using `consola` which seems to not pipe output back to
stdout which in turn made our e2e tests fail.

Rather that checking arbitrary strings frameworks output at the end of their
build commands, we switch to checking that the build process exited with status
code 0.
@andreiborza andreiborza merged commit 3038237 into master Jan 22, 2025
18 of 19 checks passed
@andreiborza andreiborza deleted the ab/use-status-code-for-build-checks branch January 22, 2025 11:02
andreiborza added a commit that referenced this pull request Jan 22, 2025
…o look for (#766)

status code 0 instead of arbitrary stdout strings

Recently, Nuxt started using `consola` which seems to not pipe output back to
stdout which in turn made our e2e tests fail.

Rather that checking arbitrary strings frameworks output at the end of their
build commands, we switch to checking that the build process exited with status
code 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants