fix(e2e): force logout and wait to fix Firefox tests #31
Workflow file for this run
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: e2e tests with firefox | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- staging | |
- workspaces-add-e2e | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- uses: patrickedqvist/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
max_timeout: 1200 | |
check_interval: 20 | |
- run: yarn | |
- run: npx playwright install --with-deps | |
- run: yarn e2e-firefox tests/4*.ts | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: e2e-screenshots-on-fail | |
path: output/ # or path/to/artifact |