Skip to content

Commit

Permalink
Record test examples job (#532)
Browse files Browse the repository at this point in the history
* record test-examples job results on dashboard

* update test

* enable a few projects to record from test-examples

* remove group name for now

* more projects with test:ci:record script

* more recorded examples

* more projects

* finish record
  • Loading branch information
bahmutov authored Jul 16, 2020
1 parent d9d13be commit bd2d6ff
Show file tree
Hide file tree
Showing 57 changed files with 140 additions and 46 deletions.
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
# when running in parallel, the total number of parallel containers
# is in variable CIRCLE_NODE_TOTAL and the current container index in CIRCLE_NODE_INDEX
# which starts at 0 and goes to $CIRCLE_NODE_TOTAL - 1
- run: npm run test:ci -- --chunk $CIRCLE_NODE_INDEX --total-chunks $CIRCLE_NODE_TOTAL
- run: npm run test:ci -- --chunk $CIRCLE_NODE_INDEX --total-chunks $CIRCLE_NODE_TOTAL --record

# a single utility script to run multiple examples against Chrome
test-examples-chrome:
Expand Down Expand Up @@ -293,6 +293,8 @@ all_jobs: &all_jobs
branches:
only:
- master
# for https://github.com/cypress-io/cypress-example-recipes/issues/531
- record-test-examples-job

- test-examples-chrome:
requires:
Expand Down
3 changes: 2 additions & 1 deletion examples/blogs__a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run"
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
2 changes: 2 additions & 0 deletions examples/blogs__application-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:chrome": "../../node_modules/.bin/cypress run --browser chrome",
"cypress:run:firefox": "../../node_modules/.bin/cypress run --browser firefox",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"cypress:run:win": "bin-up cypress run",
"cypress:run:win:record": "bin-up cypress run --record --group blogs__application-actions",
"dev": "../../node_modules/.bin/start-test 8888 cypress:open",
Expand All @@ -16,6 +17,7 @@
"test:ci": "../../node_modules/.bin/start-test 8888 cypress:run",
"test:ci:chrome": "../../node_modules/.bin/start-test 8888 cypress:run:chrome",
"test:ci:firefox": "../../node_modules/.bin/start-test 8888 cypress:run:firefox",
"test:ci:record": "../../node_modules/.bin/start-test 8888 cypress:run:record",
"test:ci:windows": "bin-up start-test start:win http://localhost:8888 cypress:run:win",
"test:ci:windows:record": "bin-up start-test start:win http://localhost:8888 cypress:run:win:record"
}
Expand Down
3 changes: 2 additions & 1 deletion examples/blogs__assertion-counting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run"
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
3 changes: 2 additions & 1 deletion examples/blogs__direct-control-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"start": "echo",
"test:ci": "npm run cypress:run"
"test:ci": "npm run cypress:run",
"test:ci:record": "npm run cypress:run -- --record"
}
}
2 changes: 2 additions & 0 deletions examples/blogs__e2e-api-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"cypress:run:windows": "bin-up cypress run",
"cypress:run:windows:record": "bin-up cypress run --record --group blogs__e2e-api-testing",
"start": "../../node_modules/.bin/json-server db.json --port 7081 --quiet",
"start:windows": "bin-up json-server db.json --port 7081 --quiet",
"test:ci": "../../node_modules/.bin/start-test 7081 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 7081 cypress:run:record",
"test:ci:windows": "bin-up start-test start:windows 7081 cypress:run:windows",
"test:ci:windows:record": "bin-up start-test start:windows 7081 cypress:run:windows:record"
}
Expand Down
4 changes: 3 additions & 1 deletion examples/blogs__e2e-snapshots/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 3700 cypress:open",
"reset": "node reset-db.js",
"reset:db": "node reset-db.js",
"start": "../../node_modules/.bin/json-server -p 3700 --static . data.json --middlewares ../../node_modules/json-server-reset",
"test:ci": "../../node_modules/.bin/start-test 3700 cypress:run"
"test:ci": "../../node_modules/.bin/start-test 3700 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 3700 cypress:run:record"
}
}
2 changes: 2 additions & 0 deletions examples/blogs__element-coverage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "npm run wait-on && ../../node_modules/.bin/cypress run",
"cypress:run:record": "npm run wait-on && ../../node_modules/.bin/cypress run --record",
"start": "../../node_modules/.bin/react-scripts start",
"test:ci": "../../node_modules/.bin/start-test 3000 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 3000 cypress:run:record",
"wait-on": "../../node_modules/.bin/wait-on http://localhost:3000"
},
"browserslist": [
Expand Down
3 changes: 2 additions & 1 deletion examples/blogs__iframes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:chrome": "../../node_modules/.bin/cypress run --browser chrome",
"test:ci:firefox": "../../node_modules/.bin/cypress run --browser firefox"
"test:ci:firefox": "../../node_modules/.bin/cypress run --browser firefox",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
3 changes: 2 additions & 1 deletion examples/blogs__notification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:chrome": "../../node_modules/.bin/cypress run --browser chrome",
"test:ci:chrome:headless": "../../node_modules/.bin/cypress run --browser chrome --headless"
"test:ci:chrome:headless": "../../node_modules/.bin/cypress run --browser chrome --headless",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
4 changes: 3 additions & 1 deletion examples/blogs__testing-redux-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"start": "../../node_modules/.bin/react-scripts start",
"test:ci": "../../node_modules/.bin/start-test 3000 cypress:run"
"test:ci": "../../node_modules/.bin/start-test 3000 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 3000 cypress:run:record"
},
"devDependencies": {
"cypress-plugin-snapshots": "1.0.6"
Expand Down
4 changes: 3 additions & 1 deletion examples/blogs__use-react-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 3000 cypress:open",
"start": "../../node_modules/.bin/react-scripts start",
"test:ci": "../../node_modules/.bin/start-test 3000 cypress:run",
"test:ci:chrome": "../../node_modules/.bin/start-test 3000 cypress:run"
"test:ci:chrome": "../../node_modules/.bin/start-test 3000 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 3000 cypress:run:record"
},
"browserslist": {
"production": [
Expand Down
4 changes: 3 additions & 1 deletion examples/blogs__vue-vuex-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:chrome": "../../node_modules/.bin/cypress run --browser chrome",
"cypress:run:chrome:headless": "../../node_modules/.bin/cypress run --browser chrome --headless",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 3000 cypress:open",
"reset": "node reset-db.js",
"reset:db": "node reset-db.js",
"start": "../../node_modules/.bin/json-server --static . data.json --middlewares ../../node_modules/json-server-reset",
"test:ci": "../../node_modules/.bin/start-test 3000 cypress:run",
"test:ci:chrome": "../../node_modules/.bin/start-test 3000 cypress:run:chrome",
"test:ci:chrome:headless": "../../node_modules/.bin/start-test 3000 cypress:run:chrome:headless"
"test:ci:chrome:headless": "../../node_modules/.bin/start-test 3000 cypress:run:chrome:headless",
"test:ci:record": "../../node_modules/.bin/start-test 3000 cypress:run:record"
}
}
3 changes: 2 additions & 1 deletion examples/extending-cypress__chai-assertions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run"
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
1 change: 1 addition & 0 deletions examples/file-upload-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"start": "echo nothing to start, this recipe does not run server",
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record",
"test:ci:windows": "bin-up cypress run",
"test:ci:windows:record": "bin-up cypress run --record --group file-upload-react"
}
Expand Down
3 changes: 2 additions & 1 deletion examples/fundamentals__add-custom-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run"
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
3 changes: 2 additions & 1 deletion examples/fundamentals__custom-browsers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"start": "echo nothing to start",
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:brave": "../../node_modules/.bin/cypress run --config pluginsFile=cypress/plugins/brave.js"
"test:ci:brave": "../../node_modules/.bin/cypress run --config pluginsFile=cypress/plugins/brave.js",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
1 change: 1 addition & 0 deletions examples/fundamentals__dynamic-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "npm run cypress:run",
"test:ci:record": "npm run cypress:run -- --record",
"test:ci:windows": "bin-up cypress run",
"test:ci:windows:record": "bin-up cypress run --record --group dynamic-tests"
}
Expand Down
1 change: 1 addition & 0 deletions examples/fundamentals__fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record",
"test:ci:windows": "bin-up cypress run",
"test:ci:windows:record": "bin-up cypress run --record --group fundamentals__fixtures"
}
Expand Down
3 changes: 2 additions & 1 deletion examples/fundamentals__module-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "node ./e2e-tests",
"start": "echo nothing to start",
"test:ci": "node ./e2e-tests"
"test:ci": "node ./e2e-tests",
"test:ci:record": "node ./e2e-tests"
}
}
1 change: 1 addition & 0 deletions examples/fundamentals__node-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record",
"test:ci:windows": "bin-up cypress run",
"test:ci:windows:record": "bin-up cypress run --record --group fundamentals__node_modules"
}
Expand Down
4 changes: 3 additions & 1 deletion examples/logging-in__csrf-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 7076 cypress:open",
"start": "node server.js --port 7076",
"test:ci": "../../node_modules/.bin/start-test 7076 cypress:run"
"test:ci": "../../node_modules/.bin/start-test 7076 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 7076 cypress:run:record"
}
}
4 changes: 3 additions & 1 deletion examples/logging-in__html-web-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:chrome": "../../node_modules/.bin/cypress run --browser chrome",
"cypress:run:firefox": "../../node_modules/.bin/cypress run --browser firefox",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 7077 cypress:open",
"start": "node server.js --port 7077",
"test:ci": "../../node_modules/.bin/start-test 7077 cypress:run",
"test:ci:chrome": "../../node_modules/.bin/start-test 7077 cypress:run:chrome",
"test:ci:firefox": "../../node_modules/.bin/start-test 7077 cypress:run:firefox"
"test:ci:firefox": "../../node_modules/.bin/start-test 7077 cypress:run:firefox",
"test:ci:record": "../../node_modules/.bin/start-test 7077 cypress:run:record"
}
}
4 changes: 3 additions & 1 deletion examples/logging-in__jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 8081 cypress:open",
"start": "../../node_modules/.bin/run-p start:server start:app",
"start:app": "../../node_modules/.bin/webpack-dev-server --port 8081",
"start:server": "node server",
"test:ci": "../../node_modules/.bin/start-test 8081 cypress:run"
"test:ci": "../../node_modules/.bin/start-test 8081 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 8081 cypress:run:record"
}
}
4 changes: 3 additions & 1 deletion examples/logging-in__single-sign-on/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:chrome": "../../node_modules/.bin/cypress run --browser chrome",
"cypress:run:firefox": "../../node_modules/.bin/cypress run --browser firefox",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 7074 cypress:open",
"start": "node app_server.js --port 7074 & node auth_server.js --port 7075",
"test:ci": "../../node_modules/.bin/start-test 7074 cypress:run",
"test:ci:chrome": "../../node_modules/.bin/start-test 7074 cypress:run:chrome",
"test:ci:firefox": "../../node_modules/.bin/start-test 7074 cypress:run:firefox"
"test:ci:firefox": "../../node_modules/.bin/start-test 7074 cypress:run:firefox",
"test:ci:record": "../../node_modules/.bin/start-test 7074 cypress:run:record"
}
}
4 changes: 3 additions & 1 deletion examples/logging-in__using-app-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 8081 cypress:open",
"start": "../../node_modules/.bin/run-p start:server start:app",
"start:app": "../../node_modules/.bin/webpack-dev-server --port 8081",
"start:server": "node server",
"test:ci": "../../node_modules/.bin/start-test 8081 cypress:run"
"test:ci": "../../node_modules/.bin/start-test 8081 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 8081 cypress:run:record"
}
}
4 changes: 3 additions & 1 deletion examples/logging-in__xhr-web-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test 7079 cypress:open",
"start": "node server.js --port 7079",
"test:ci": "../../node_modules/.bin/start-test 7079 cypress:run"
"test:ci": "../../node_modules/.bin/start-test 7079 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 7079 cypress:run:record"
}
}
3 changes: 2 additions & 1 deletion examples/preprocessors__grep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"start": "echo",
"test:ci": "../../node_modules/.bin/cypress run"
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
3 changes: 2 additions & 1 deletion examples/preprocessors__typescript-browserify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"start": "echo",
"test:ci": "../../node_modules/.bin/cypress run"
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record"
}
}
1 change: 1 addition & 0 deletions examples/preprocessors__typescript-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"lint": "../../node_modules/.bin/tslint --project ./tsconfig.json",
"postlint": "npm run tsc",
"test:ci": "../../node_modules/.bin/cypress run",
"test:ci:record": "../../node_modules/.bin/cypress run --record",
"tsc": "../../node_modules/.bin/tsc --pretty --noEmit"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"dev": "../../node_modules/.bin/start-test http://localhost:7070/bootstrap.html cypress:open",
"start": "node server.js --port 7070",
"test:ci": "../../node_modules/.bin/start-test http://localhost:7070/bootstrap.html cypress:run"
"test:ci": "../../node_modules/.bin/start-test http://localhost:7070/bootstrap.html cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test http://localhost:7070/bootstrap.html cypress:run:record"
}
}
3 changes: 2 additions & 1 deletion examples/server-communication__env-variables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cross-env FOO=42 BAR=baz CYPRESS_ping=123 CYPRESS_HOST=laura.dev.local cypress_api_server=http://localhost:8888/api/v1/ ../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cross-env FOO=42 BAR=baz CYPRESS_ping=123 CYPRESS_HOST=laura.dev.local cypress_api_server=http://localhost:8888/api/v1/ ../../node_modules/.bin/cypress run",
"test:ci": "npm run cypress:run"
"test:ci": "npm run cypress:run",
"test:ci:record": "npm run cypress:run -- --record"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"scripts": {
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"cypress:run:record": "../../node_modules/.bin/cypress run --record",
"start": "node server/index.js --port 7082",
"test:ci": "../../node_modules/.bin/start-test 7082 cypress:run"
"test:ci": "../../node_modules/.bin/start-test 7082 cypress:run",
"test:ci:record": "../../node_modules/.bin/start-test 7082 cypress:run:record"
}
}
3 changes: 2 additions & 1 deletion examples/server-communication__xhr-assertions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"cypress:run:firefox": "../../node_modules/.bin/cypress run --browser firefox",
"test:ci": "npm run cypress:run",
"test:ci:chrome": "npm run cypress:run:chrome",
"test:ci:firefox": "npm run cypress:run:firefox"
"test:ci:firefox": "npm run cypress:run:firefox",
"test:ci:record": "npm run cypress:run --record"
}
}
3 changes: 2 additions & 1 deletion examples/stubbing-spying__console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"start": "echo",
"test:ci": "npm run cypress:run",
"test:ci:chrome": "npm run cypress:run:chrome",
"test:ci:firefox": "npm run cypress:run:firefox"
"test:ci:firefox": "npm run cypress:run:firefox",
"test:ci:record": "npm run cypress:run -- --record"
}
}
3 changes: 2 additions & 1 deletion examples/stubbing-spying__functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cypress:open": "../../node_modules/.bin/cypress open",
"cypress:run": "../../node_modules/.bin/cypress run",
"start": "echo nothing to start, this recipe does not run server",
"test:ci": "npm run cypress:run"
"test:ci": "npm run cypress:run",
"test:ci:record": "npm run cypress:run --record"
}
}
Loading

0 comments on commit bd2d6ff

Please sign in to comment.