diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index aa8b131098..9a440323dd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -49,6 +49,7 @@ jobs: VITE_TRANSLOADIT_SECRET: ${{secrets.TRANSLOADIT_SECRET}} VITE_TRANSLOADIT_TEMPLATE: ${{secrets.TRANSLOADIT_TEMPLATE}} VITE_TRANSLOADIT_SERVICE_URL: ${{secrets.TRANSLOADIT_SERVICE_URL}} + CYPRESS_RECORD_KEY: ${{secrets.CYPRESS_RECORD_KEY}} - name: Remove 'pending end-to-end tests' label # Remove the 'pending end-to-end tests' label if tests ran successfully if: github.event.pull_request && contains(github.event.pull_request.labels.*.name, 'pending end-to-end tests') diff --git a/e2e/cypress.json b/e2e/cypress.json index e758cc30d6..0151aa17ec 100644 --- a/e2e/cypress.json +++ b/e2e/cypress.json @@ -1,4 +1,5 @@ { + "projectId": "mcijsj", "baseUrl": "http://localhost:1234", "defaultCommandTimeout": 16000 } diff --git a/e2e/package.json b/e2e/package.json index 52a7ebe7d3..2dbd445094 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -6,7 +6,7 @@ "scripts": { "client:start": "parcel clients/index.html", "cypress:open": "cypress open", - "cypress:headless": "cypress run", + "cypress:headless": "cypress run --record", "generate-test": "yarn node generate-test.mjs" }, "dependencies": {