Skip to content

E2E Test

E2E Test #530

Workflow file for this run

name: E2E Test
on:
schedule:
- cron: '0 4 * * *'
push:
workflow_dispatch:
jobs:
record:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Cypress run
uses: cypress-io/github-action@v4
with:
command: npx @replayio/cypress run --timeout 600000 --browser replay-chromium
start: npm run start:app
wait-on: 'http://localhost:3000'
wait-on-timeout: 120
env:
DEBUG: replay:cypress*,cypress:launcher:browsers
RECORD_REPLAY_VERBOSE: 1
RECORD_ALL_CONTENT: 1
RECORD_REPLAY_METADATA_FILE: /tmp/replay-metadata
RECORD_REPLAY_TEST_METRICS: 1
RECORD_REPLAY_WEBHOOK_URL: ${{ secrets.RECORD_REPLAY_WEBHOOK_URL }}
# These two are here to help with measuring the true overhead by disabling diagnostics
RECORD_REPLAY_DISABLE_ASSERTS: 1
RECORD_REPLAY_DISABLE_SOURCEMAP_COLLECTION: 1
REPLAY_METADATA_TEST_RUN_TITLE: ${{ matrix.platform }}
- name: Upload replays
if: ${{ always() }}
uses: replayio/[email protected]
with:
api-key: rwk_xxNF2q8coRNanmtYmhmzyvHZM7KQ2VvW8CuMGJwhPUJ
public: true