Skip to content

Merge pull request #4034 from serlo/e2e/fix-failing-tests-0821 #1525

Merge pull request #4034 from serlo/e2e/fix-failing-tests-0821

Merge pull request #4034 from serlo/e2e/fix-failing-tests-0821 #1525

Workflow file for this run

name: e2e
on:
workflow_dispatch:
push:
# workflow is triggered on staging and branches starting with 'e2e'
# but tests always run against staging preview build
branches:
- staging
- e2e**
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./e2e-tests
steps:
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/checkout@v4
- run: yarn
- run: yarn playwright install --with-deps chromium
- uses: patrickedqvist/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 1200
check_interval: 20
- run: yarn e2e-workers
- uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-screenshots-on-fail
path: e2e-tests/output/ # or path/to/artifact