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