From 51576e30c5f7553153b45aea81a4e20f12a41ffc Mon Sep 17 00:00:00 2001 From: Matt McKnett Date: Sun, 19 May 2024 16:22:44 -0700 Subject: [PATCH] test: Debug logging wasn't enough; record to cypress's cloud service to see what's wrong. --- .github/workflows/cypress-tests.yml | 4 +++- cypress.config.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress-tests.yml b/.github/workflows/cypress-tests.yml index f38686d..a476a33 100644 --- a/.github/workflows/cypress-tests.yml +++ b/.github/workflows/cypress-tests.yml @@ -19,9 +19,11 @@ jobs: uses: cypress-io/github-action@v5.0.8 # use the explicit version number env: DEBUG: '@cypress/github-action' # Turn on debug logs for troubleshooting + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} with: # Wait for the emulator UI to be available (indicates emulators fully loaded) # and for the page to be available on the hosting emulator. wait-on: 'http://localhost:4000, http://localhost:5000' build: 'npm run build:tests' - start: npm run emulators:tests \ No newline at end of file + start: npm run emulators:tests + record: true \ No newline at end of file diff --git a/cypress.config.ts b/cypress.config.ts index 3969c33..cf51914 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -6,5 +6,6 @@ export default defineConfig({ // implement node event listeners here }, }, - video: false + video: true, + projectId: "9pvri1", });