Edit cypress config before running tests

This commit is contained in:
Devon Hudson 2023-01-11 10:10:24 -07:00
parent 11a07d855d
commit 8fef692741
No known key found for this signature in database
GPG Key ID: CD06B18E77F6A628

View File

@ -98,6 +98,9 @@ jobs:
CI_PACKAGE: true
run: yarn build
working-directory: ./element-web
- name: Edit Test Config
run: |
sed -i '/HOMESERVER/c\ HOMESERVER: "dendrite",' cypress.config.ts
- name: "Run cypress tests"
uses: cypress-io/github-action@v4.1.1
with:
@ -107,4 +110,3 @@ jobs:
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
TMPDIR: ${{ runner.temp }}
HOMESERVER: 'dendrite'