-
Notifications
You must be signed in to change notification settings - Fork 84
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 are broken due to cucumber runner or don't work #974
Comments
Would you be able to provide a reproduction? 🙏 More infoWhy do I need to provide a reproduction?Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making. What will happen?If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect. If How can I create a reproduction?We have a couple of templates for starting with a minimal reproduction: 👉 https://stackblitz.com/github/nuxt/test-utils/tree/main/examples/app-vitest A public GitHub repository is also perfect. 👌 Please ensure that the reproduction is as minimal as possible. See more details in our guide. You might also find these other articles interesting and/or helpful: |
Hey @wattanx ! Unfortunately, as I stated in the issue, it is very inconsistent and I can't reliably make a full-fledged minimal reproduction. Would it be of any help if I contact you privately and share the behavior with the non-minimal reproduction, which is where it's observed? |
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: