Tests Cypress running tests in subfolders
Switch branches/tags
Clone or download
bahmutov Testing new linux Cypress version 3.1.4 7605f3a
```json
{
  "platform": "linux",
  "env": {
    "CYPRESS_INSTALL_BINARY": "https://cdn.cypress.io/beta/binary/3.1.4/linux64/circle-develop-7605f3a96e731cfdb417fb7c00e9cbf6ebac5ffc-42228/cypress.zip"
  },
  "packages": "https://cdn.cypress.io/beta/npm/3.1.4/circle-develop-7605f3a96e731cfdb417fb7c00e9cbf6ebac5ffc-42227/cypress.tgz",
  "branch": "3.1.4",
  "commit": "7605f3a96e731cfdb417fb7c00e9cbf6ebac5ffc"
}
```

Use tool `commit-message-install` to install from above block

CircleCI job url: https://circleci.com/gh/cypress-io/cypress/42238
Latest commit 15c72ae Dec 11, 2018

README.md

cypress-test-nested-projects

CircleCI

Folder structure:

package.json
node_modules
src/
    clients/
        foo/
            cypress.json
            cypress/
        bar/
            cypress.json
            cypress/

Package scripts test subfolders (using relative and absolute paths)

{
  "scripts": {
    "test": "npm run test-foo && npm run test-bar",
    "test-foo": "cypress run --project ./src/clients/foo",
    "test-bar": "cypress run --project $PWD/src/clients/bar"
  }
}