Cypress 15.11.0 introduces the `--pass-with-no-tests` CLI flag to handle CI pipeline failures caused by zero spec files being found. Previously, any run that matched no test files would exit with a non-zero code and break the build. The new flag allows Cypress to exit with code 0 in those cases, which is useful for workflows
Table of contents
What causes "no spec files found" failures in Cypress?What the --pass-with-no-tests flag doesWhen to use --pass-with-no-testsExample: running Cypress with no specs in CIOne edge case worth notingShould you use this?Getting startedOther changes in 15.11.0Sort: