diff --git a/.github/workflows/element-build-and-test.yaml b/.github/workflows/element-build-and-test.yaml index 2bb95d1c0e..1b736d2838 100644 --- a/.github/workflows/element-build-and-test.yaml +++ b/.github/workflows/element-build-and-test.yaml @@ -70,6 +70,12 @@ jobs: # to run the tests, so use chrome. browser: chrome start: npx serve -p 8080 webapp + record: true + env: + # pass the Dashboard record key as an environment variable + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} + # pass GitHub token to allow accurately detecting a build vs a re-run build + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Artifact if: failure() diff --git a/cypress.json b/cypress.json index 4c1ed2d585..2c39bb411f 100644 --- a/cypress.json +++ b/cypress.json @@ -1,4 +1,5 @@ { "baseUrl": "http://localhost:8080", - "videoUploadOnPasses": false + "videoUploadOnPasses": false, + "projectId": "ppvnzg" }