Skip to content

Commit

Permalink
Testing priority of variable for cypress #96
Browse files Browse the repository at this point in the history
If env variable will override baseUrl in cypress.json
  • Loading branch information
tillias committed Nov 9, 2020
1 parent 0d1a878 commit 76d484f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ jobs:
workflows:
build:
jobs:
- build
- cypress:
requires:
- build
filters:
branches:
only: master
- cypress
# - cypress:
# requires:
# - build
# filters:
# branches:
# only: master
1 change: 1 addition & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"baseUrl": "http://localhost:8080",
"chromeWebSecurity": false,
"projectId": "ge12oz"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@
"webpack:test": "npm run test",
"webpack-dev-server": "node --max_old_space_size=4096 node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js",
"cypress": "cypress run --record --config video=false",
"cypress-no-record": "cypress run --config video=false"
"cypress": "cypress run --record --config video=true",
"cypress-no-record": "cypress run --config video=true"
},
"jestSonar": {
"reportPath": "target/test-results/jest",
Expand Down

0 comments on commit 76d484f

Please sign in to comment.