Disabling recording in Cypress tests (#9535)

* Disabling recording in Cypress tests

* Removing --group --ci-build-id
This commit is contained in:
Craig Rueda 2020-04-14 15:56:35 -07:00 committed by GitHub
parent 7b4b0d1c61
commit 1d7900ade3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 9 deletions

View File

@ -22,7 +22,6 @@ jobs:
REDIS_PORT: 16379
CI: github-actions
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
services:
postgres:
image: postgres:10-alpine
@ -67,10 +66,7 @@ jobs:
sleep 3 # wait for the Flask app to start
cd ${{ github.workspace }}/superset-frontend/cypress-base/
npm run cypress -- run \
--browser ${{ matrix.browser }} --spec "${{ env.CYPRESS_PATH }}" \
--record --group "${{ env.CYPRESS_GROUP }}" \
--ci-build-id ${{ github.event_name }}-${{ github.run_id }}
npm run cypress -- run --browser ${{ matrix.browser }} --spec "${{ env.CYPRESS_PATH }}" --record false
- name: Cypress run SQL Lab (with backend persist)
env:
@ -85,7 +81,4 @@ jobs:
sleep 3 # wait for the Flask app to start
cd ${{ github.workspace }}/superset-frontend/cypress-base/
npm run cypress -- run \
--browser ${{ matrix.browser }} --spec "${{ env.CYPRESS_PATH }}" \
--record --group "${{ env.CYPRESS_GROUP }}" \
--ci-build-id ${{ github.event_name }}-${{ github.run_id }}
npm run cypress -- run --browser ${{ matrix.browser }} --spec "${{ env.CYPRESS_PATH }}" --record false