{"push_id":2968757159,"size":1,"distinct_size":1,"ref":"refs/heads/feat/cypress-e2e","head":"96a26e6171665a940c23505cbe62f01d1fcd9e8a","before":"263e581fcc69d8ff6c739d2065a72d0f4a6949ae","commits":[{"sha":"96a26e6171665a940c23505cbe62f01d1fcd9e8a","author":{"name":"ben","email":"1a73af9e7ae00182733b2292511b814be66f065f@benjamincabanes.com"},"message":"feat(schematics): add cypress e2e test runner\n\nThis is enables the use of Cypress as e2e test runner for a new\napplication in the Nx workspace.\n\nThe Cypress command is hidden as a flag in the main application\nschematics. Meaning, the only thing needed to enable this feature is to\nadd the `--e2eTestRunner=cypress` flag at your command when creating\na new application.\nExample:\n```shell\n$ ng generate application myApp --e2eTestRunner=cypress\n```\n\nBy default `ng e2e my-app-e2e` will start Cypress in the application\nmode. You will see the desktop application and will be able to check all\nthe tests and run them as you which.\n\nIf you want to run the Cypress tests in headless mode (while being on CI\nfor example), you can do so by passing the `--headless` to the command.\n  You will see all the test results live in the terminal.\n  ```shell\n  $ ng e2e my-app-e2e --headless\n  ```\n\nThe Cypress configuration files and folders are present in the new\n`my-app-e2e` folder created. Every file are written in typescript and\nwill be compiled into the `/dist/apps/my-app-e2e` folder before starting\nCypress.\n\nIf you need to fine tunes the options of Cypress, you can do so by\nmodifying directly the `cypress.json` file in the related project.\n\nThe build steps are has follow:\n• compile typescript files into javascript inside the\n`/dist/app/my-app-e2e` folder\n• build a dev server (using the default AngularCLI dev target build)\n• run Cypress with the compiled e2e files\n\nScreenshots and Videos will be accessible respectively in\n`/dist/apps/homer-app-e2e/screenshots` and\n`/dist/apps/homer-app-e2e/videos`.","distinct":true,"url":"https://api.github.com/repos/bcabanes/nx/commits/96a26e6171665a940c23505cbe62f01d1fcd9e8a"}]}
{"actor":{"display_login":"bcabanes"}}