How to choose cypress component destination #23560
Unanswered
MatthD
asked this question in
Component Testing
Replies: 1 comment
-
@MatthD You can update your specPattern to include the path to your component testing folder to correct this path. For example: component: {
+ specPattern: '/cypress/component/hello/**.cy.js',
devServer: {
framework: 'nuxt',
bundler: 'webpack'
}
} |
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.
-
Hey guys .
I am facing multiple issues (jest/cypress types collision) that lead me to put my cypress tests in the cypress folder and not the component directory of my
nuxt2 app
BUT I want to be able to use the GUI to generate spec test component ,It works but it put me the test file next to the component, so I have to move the file and correct paths then.
Is there a way to indicate to put test elsewhere?
Beta Was this translation helpful? Give feedback.
All reactions