Edit cypress config before running tests
This commit is contained in:
parent
11a07d855d
commit
8fef692741
4
.github/workflows/schedules.yaml
vendored
4
.github/workflows/schedules.yaml
vendored
|
@ -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'
|
|
||||||
|
|
Loading…
Reference in a new issue