cypress-react-webpack #17205
Unanswered
dadirakeshreddy
asked this question in
Component Testing
Replies: 1 comment
-
@dadirakeshreddy You need to run cypress open-ct for running unitTestCases with cypress. cypress open -> e2e |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
I need a little help on how to write component unit tests in cypress with react-webpack configuration.
I'm trying to write component unit test in cypress with react and webPack configuration. I did setup as per the documentation (https://docs.cypress.io/guides/component-testing/introduction#Install). Whenever I run
cypress open
, it open's up cypress window and in the test suite it is pointing tocypress/integration
folder.Folder structure:
cypress/plugins/index.js
webpack.config.ts
cypress.json
tsconfig.json
package.json
cypress window

Beta Was this translation helpful? Give feedback.
All reactions