|
16 | 16 | - SAUCE_ACCESS_KEY_PR=e0a97bd3-4b74-4408-89bf-cce1b44a8bf1
|
17 | 17 | - BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
|
18 | 18 | - LOGS_DIR=/tmp/logs
|
| 19 | + - CY_KEY=4aa7a1c0-3a4f-444e-b324-6fc305a543a8 |
19 | 20 |
|
20 | 21 | stages:
|
21 | 22 | - name: Testing
|
@@ -156,20 +157,20 @@ jobs:
|
156 | 157 | - stage: "post deploy testing"
|
157 | 158 | name: "Run cypress to check SSR"
|
158 | 159 | # env: URL=https://ngx-universal.herokuapp.com/#
|
159 |
| - - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/integration,baseUrl=https://ngx-universal.herokuapp.com/#/ |
| 160 | + - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/integration,baseUrl=https://ngx-universal.herokuapp.com/#/ --record --key $CY_KEY |
160 | 161 | name: "Cypress integration suit run on SSR "
|
161 |
| - - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/full,baseUrl=https://ngx-universal.herokuapp.com/#/ |
| 162 | + - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/full,baseUrl=https://ngx-universal.herokuapp.com/#/ --record --key $CY_KEY |
162 | 163 | name: "Cypress full suit run on SSR "
|
163 | 164 | # test cypress full for gh-pages
|
164 |
| - - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/integration,baseUrl=http://ngx-bootstrap-latest.surge.sh/#/ |
| 165 | + - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/integration,baseUrl=http://ngx-bootstrap-latest.surge.sh/#/ --record --key $CY_KEY |
165 | 166 | name: "Cypres integration run with @latest angular"
|
166 |
| - - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/full,baseUrl=http://ngx-bootstrap-latest.surge.sh/#/ |
| 167 | + - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/full,baseUrl=http://ngx-bootstrap-latest.surge.sh/#/ --record --key $CY_KEY |
167 | 168 | name: "Cypres full run with @latest angular"
|
168 | 169 | # env: URL=https://valor-software.com/ngx-bootstrap/#/
|
169 |
| - - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/integration,baseUrl=https://valor-software.com/ngx-bootstrap/#/ |
| 170 | + - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/integration,baseUrl=https://valor-software.com/ngx-bootstrap/#/ --record --key $CY_KEY |
170 | 171 | name: "Cypress integration on gh-pages after deploy"
|
171 | 172 | if: tag =~ ^v\d+
|
172 |
| - - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/full,baseUrl=https://valor-software.com/ngx-bootstrap/#/ |
| 173 | + - script: ./node_modules/.bin/cypress run --config integrationFolder=cypress/full,baseUrl=https://valor-software.com/ngx-bootstrap/#/ --record --key $CY_KEY |
173 | 174 | name: "Cypress full on gh-pages after deploy"
|
174 | 175 | if: tag =~ ^v\d+
|
175 | 176 |
|
|
0 commit comments