mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Update cypress.yaml
This commit is contained in:
parent
25ac825ae5
commit
2ae50940c8
4
.github/workflows/cypress.yaml
vendored
4
.github/workflows/cypress.yaml
vendored
@ -136,18 +136,18 @@ jobs:
|
||||
|
||||
- name: Run Cypress tests
|
||||
uses: cypress-io/github-action@a29a621b736c9a8547ba0236cc9cee1e49725bd5
|
||||
working-directory: matrix-react-sdk
|
||||
with:
|
||||
# The built-in Electron runner seems to grind to a halt trying
|
||||
# to run the tests, so use chrome.
|
||||
browser: "${{ env.BROWSER_PATH }}"
|
||||
start: npx serve -p 8080 webapp
|
||||
start: npx serve -p 8080 ../webapp
|
||||
wait-on: "http://localhost:8080"
|
||||
record: true
|
||||
parallel: true
|
||||
command-prefix: "yarn percy exec --parallel --"
|
||||
config: '{"reporter":"cypress-multi-reporters", "reporterOptions": { "configFile": "cypress-ci-reporter-config.json" } }'
|
||||
ci-build-id: ${{ needs.prepare.outputs.uuid }}
|
||||
project: matrix-react-sdk
|
||||
env:
|
||||
# pass the Dashboard record key as an environment variable
|
||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||
|
Loading…
Reference in New Issue
Block a user