thisdot / open-source

Repository for open source packages
MIT License
34 stars 11 forks source link

Latest NX and cypress tests fail if testIsolation is set to false in vue-showcase #161

Open TapaiBalazs opened 1 year ago

TapaiBalazs commented 1 year ago

What package and version are you using?

-

What browser are you using?

-

What operating system are you using?

-

Actual Behavior

In PR #155 the NX migration set the testIsolation configuration in the vue-showcase cypress tests to false. This way the tests run.

If I remove that configuration (thus setting it to true), the tests fail.

Expected Behavior

If I set the testIsolation flag to true, the tests should not fail.

Reproduction

  1. Set testIsolation config property to true in vue-showcase/cypress.config.ts
  2. Run the tests
  3. See them fail

Acceptance criteria: The configuration flag is set to true and the tests run in isolation and don't fail

Additional Information

Screenshot of the failing tests:

Screenshot 2023-03-10 at 11 28 59