Merge pull request #5681 from Budibase/infra/record-smoke

record cypress runs in smoke test
This commit is contained in:
Martin McKeaveney 2022-05-03 10:25:03 +01:00 committed by GitHub
commit f1c189250a
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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",