Support of Cypress projects which are not at the root of the Git repository
Currently, we do not support Cypress projects not situated at the root of the Git repository.
We will deprecate the current syntax for the test reference.
We will add a new syntax which is:
[1]/[2]#[3]
- [1]: Name of the project on the source code repository
- [2]: Path to the directory of the Cypress project (i.e. the directory containing the
cypress.json
/cypress.Config.js
config file and thecypress
directory) - [3]: Path (relative to the previous directory) and name of the Cypress test file, from the root of the project (with the
.spec.js
extension).
If the Cypress project is at the root of the Git repository, the syntax is simply [1]#[3]
.