Skip to content

Commit

Permalink
test: Debug logging wasn't enough; record to cypress's cloud service …
Browse files Browse the repository at this point in the history
…to see what's wrong.
  • Loading branch information
mmcknett committed May 19, 2024
1 parent 455684c commit 51576e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
uses: cypress-io/[email protected] # 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
start: npm run emulators:tests
record: true
3 changes: 2 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export default defineConfig({
// implement node event listeners here
},
},
video: false
video: true,
projectId: "9pvri1",
});

0 comments on commit 51576e3

Please sign in to comment.