Browse Source
Merge pull request #5681 from Budibase/infra/record-smoke
record cypress runs in smoke test
pull/5687/head
Martin McKeaveney
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
.github/workflows/smoke_test.yaml
-
packages/builder/package.json
|
|
|
@ -33,6 +33,8 @@ jobs: |
|
|
|
with: |
|
|
|
install: false |
|
|
|
command: yarn test:e2e:ci |
|
|
|
env: |
|
|
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} |
|
|
|
|
|
|
|
# TODO: upload recordings to s3 |
|
|
|
# - name: Configure AWS Credentials |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ |
|
|
|
"cy:setup:ci": "node ./cypress/setup.js", |
|
|
|
"cy:open": "cypress open", |
|
|
|
"cy:run": "cypress run", |
|
|
|
"cy:run:ci": "xvfb-run cypress run --headed --browser chrome", |
|
|
|
"cy:run:ci": "xvfb-run cypress run --headed --browser chrome --record", |
|
|
|
"cy:test": "start-server-and-test cy:setup http://localhost:4100/builder cy:run", |
|
|
|
"cy:ci": "start-server-and-test cy:setup:ci http://localhost:4100/builder cy:run:ci", |
|
|
|
"cy:debug": "start-server-and-test cy:setup http://localhost:4100/builder cy:open", |
|
|
|
|