mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-18 07:40:53 +01:00
Add cypress cloud recording
This commit is contained in:
parent
8fef692741
commit
b297ea7379
1 changed files with 8 additions and 0 deletions
8
.github/workflows/schedules.yaml
vendored
8
.github/workflows/schedules.yaml
vendored
|
@ -75,6 +75,7 @@ jobs:
|
||||||
/logs/**/*.log*
|
/logs/**/*.log*
|
||||||
|
|
||||||
element_web:
|
element_web:
|
||||||
|
timeout-minutes: 120
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: tecolicom/actions-use-apt-tools@v1
|
- uses: tecolicom/actions-use-apt-tools@v1
|
||||||
|
@ -107,6 +108,13 @@ jobs:
|
||||||
browser: chrome
|
browser: chrome
|
||||||
start: npx serve -p 8080 ./element-web/webapp
|
start: npx serve -p 8080 ./element-web/webapp
|
||||||
wait-on: 'http://localhost:8080'
|
wait-on: 'http://localhost:8080'
|
||||||
|
record:
|
||||||
|
true
|
||||||
env:
|
env:
|
||||||
|
# pass the Dashboard record key as an environment variable
|
||||||
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||||
|
# pass GitHub token to allow accurately detecting a build vs a re-run build
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
|
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
|
||||||
TMPDIR: ${{ runner.temp }}
|
TMPDIR: ${{ runner.temp }}
|
||||||
|
|
Loading…
Reference in a new issue