Record cypress runs to dashboard (#8436)
This commit is contained in:
parent
ecd7d8b5e8
commit
1bceeb244c
2 changed files with 8 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"baseUrl": "http://localhost:8080",
|
||||
"videoUploadOnPasses": false
|
||||
"videoUploadOnPasses": false,
|
||||
"projectId": "ppvnzg"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue