Skip to content

Glob Patterns for cypress.json integrationFolder #9171

Discussion options

You must be logged in to vote

Solution

For anyone coming across this issue, the solution I ended up with was keeping the integrationFolder the same, and nested the testing folders in there:

- cypress
    |_ e2e
        |_ oss
        |_ shared

In doing so, I had to update the testFiles to use a glob pattern to test out the folders:

  "integrationFolder": "cypress/e2e",
  "testFiles": "{oss,shared}/**/*.*",

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by asalem1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant