No tests found in spec file #16784
Unanswered
d3caf
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproduction repo: https://github.com/andrew-anguiano/reproductions/tree/main/cypress-component-testing-16784
I'm trying to set up Cypress in a new React+TS project and use the new component testing feature. I followed the setup process in the docs, but when I run
yarn run cypress open-ct
and select a component to test, I just see "Your tests are loading..." and nothing ever happens. No tests are shown in the pane. I'm not seeing any errors being output either.Here is my webpack config:
and my
plugins/index.js
file in the cypress folder:Thanks for any help!
Update
Investigating further: it appears that the test file is never loaded... I'll dig further.
Update 2
It seems to be an issue with my webpack config. Now it's loading the test files, but unable to find any tests in them...
Beta Was this translation helpful? Give feedback.
All reactions