mirror of https://github.com/vector-im/riot-web
Record cypress runs to dashboard (#8436)
parent
ecd7d8b5e8
commit
1bceeb244c
|
@ -70,6 +70,12 @@ jobs:
|
||||||
# to run the tests, so use chrome.
|
# to run the tests, so use chrome.
|
||||||
browser: chrome
|
browser: chrome
|
||||||
start: npx serve -p 8080 webapp
|
start: npx serve -p 8080 webapp
|
||||||
|
record: true
|
||||||
|
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 }}
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
"baseUrl": "http://localhost:8080",
|
"baseUrl": "http://localhost:8080",
|
||||||
"videoUploadOnPasses": false
|
"videoUploadOnPasses": false,
|
||||||
|
"projectId": "ppvnzg"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue