try to simplify and clarify the fragmented test situation #224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: end-to-end tests | |
on: [ push, workflow_dispatch ] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm install | |
- run: npx --yes update-browserslist-db@latest | |
- run: npx testcafe --hostname localhost --retry-test-pages --skip-js-errors --selector-timeout 60000 "chrome:headless" */index.js | |
env: | |
CI: true | |
HOST: https://client.staging.perio.do |