|
30 | 30 | "// CYPRESS ///////////": "", |
31 | 31 | "cy:open": "cypress open", |
32 | 32 | "cy:run": "cypress run", |
33 | | - "cy-run-record": "node utils/cypress-run-and-record.js", |
| 33 | + "cy-run-record": "node utils/cy-run-record.js", |
34 | 34 | "// REALWORLD ///////////": "", |
35 | 35 | "realworld:install": "npm run realworld:frontend:install && npm run realworld:backend:install", |
36 | 36 | "realworld:frontend:install": "cd realworld/frontend && npm i", |
|
39 | 39 | "realworld:frontend:start": "cd realworld/frontend && npm start", |
40 | 40 | "realworld:backend:start": "cd realworld/backend && npm start", |
41 | 41 | "realworld:db:start": "cd realworld/backend && npm run mongo:start", |
42 | | - "realworld:cy": "cypress run --spec \"cypress/integration/realworld/**/*\"", |
| 42 | + "realworld:cy": "npm run cy-run-record -- --spec \"cypress/integration/realworld/**/*\"", |
43 | 43 | "// EXAMPLES ///////////": "", |
44 | 44 | "run:examples": "npm-run-all -s example:**", |
45 | | - "example:headless-browser": "cypress run --spec \"cypress/integration/**/headless-browser.*\"", |
46 | | - "example:signup": "cypress run --spec \"cypress/integration/examples/signup/*\"", |
47 | | - "example:signup-integration": "cypress run --spec \"cypress/integration/examples/signup-integration/*\"", |
48 | | - "example:authenticate-command": "cypress run --spec \"cypress/integration/examples/authenticate-command/*\"", |
49 | | - "example:monitoring-tests": "cypress run --spec \"cypress/integration/examples/monitoring-tests/*\"" |
| 45 | + "example:headless-browser": "npm run cy-run-record -- --spec \"cypress/integration/**/headless-browser.*\"", |
| 46 | + "example:signup": "npm run cy-run-record -- --spec \"cypress/integration/examples/signup/*\"", |
| 47 | + "example:signup-integration": "npm run cy-run-record -- --spec \"cypress/integration/examples/signup-integration/*\"", |
| 48 | + "example:authenticate-command": "npm run cy-run-record -- --spec \"cypress/integration/examples/authenticate-command/*\"", |
| 49 | + "example:monitoring-tests": "npm run cy-run-record -- --spec \"cypress/integration/examples/monitoring-tests/*\"" |
50 | 50 | }, |
51 | 51 | "jest": { |
52 | 52 | "testPathIgnorePatterns": [ |
|
0 commit comments