Skip to content

Make the OS Cypress specs independent of run order #9004

Open

Description

@andypalmi

The OS Cypress suite only passes in the order Cypress picks when it runs the whole folder. Run in any other order (alphabetical, or as a subset), several specs fail because earlier specs leave behind state they depend on. This is a source of flaky tests and blocks running the specs in shards.

Specs that fail out of order:

Done when

  • Each spec creates the data it needs or restores what it changes in after().
  • The suite passes run alphabetically and when split into 2 or 3 groups with --spec.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions