Skip to content
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

[@nx/cypress] In Cypress v12,the testIsolation option is turned on by default. #132

Open
github-actions bot opened this issue May 8, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link

github-actions bot commented May 8, 2023

In Cypress v12,the testIsolation option is turned on by default.

This can cause tests to start breaking where not indended.

You should consider enabling this once you verify tests do not depend on each other

More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation

* TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default.

import { defineConfig } from 'cypress'
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset'

export default defineConfig({
  e2e: {
    ...nxE2EPreset(__dirname),
    /**
     * TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default.
     * This can cause tests to start breaking where not indended.
     * You should consider enabling this once you verify tests do not depend on each other
     * More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation
     **/
    testIsolation: false,
  },
})

864868ee7ae5e36563c6add5a84678d2d82a9ab3

@github-actions github-actions bot added the todo label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants