Skip to content

test: Debug logging wasn't enough; record to cypress's cloud service … #40

test: Debug logging wasn't enough; record to cypress's cloud service …

test: Debug logging wasn't enough; record to cypress's cloud service … #40

Workflow file for this run

name: Cypress Tests
'on':
push:
paths-ignore:
- '**/*.md'
# - '.github/workflows/*.yml'
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Install firebase emulators
- run: npm install -g firebase-tools
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
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
record: true