-
Notifications
You must be signed in to change notification settings - Fork 81
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
tests don't work or are broken #974
Labels
Comments
GalacticHypernova
changed the title
cucumber runner interferes with vitest tests and breaks tests
tests don't work or are broken
Oct 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Reproduction
I am unable to provide a reproduction for 2 main reasons:
I can, however, provide the overall configuration and a sample of the tests:
nuxt.config.ts modules:
vitest.config.mts:
Sample of test/e2e/e2e.nuxt.test.ts:
Describe the bug
The cucumber test runner appears to execute the tests despite runner option of the
setup
of e2e to 'vitest' (or trying to use the default). Maybe because of this and maybe because of a different, unseen cause, it simply breaks all e2e tests with the error I provided in the Logs section.I believe this is part of a bigger issue which I have not unearthed yet that could also explain the respective failures on both environments
Additional context
Attempting to upgrade/reinstall the project's deps does not appear to help.
Unit tests are not affected by it, it affects only those that depend on the
setup
from the e2e section.Logs
The text was updated successfully, but these errors were encountered: