Record cypress runs to dashboard (#8436)

pull/28217/head
Michael Telatynski 2022-04-28 12:47:13 +01:00 committed by GitHub
parent ecd7d8b5e8
commit 1bceeb244c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -70,6 +70,12 @@ jobs:
# to run the tests, so use chrome.
browser: chrome
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
if: failure()

View File

@ -1,4 +1,5 @@
{
"baseUrl": "http://localhost:8080",
"videoUploadOnPasses": false
"videoUploadOnPasses": false,
"projectId": "ppvnzg"
}