Skip to content

Commit

Permalink
Merge pull request #3138 from serlo/3137-prepare-workflow-for-running…
Browse files Browse the repository at this point in the history
…-tests-with-firefox

setup workflow for firefox
  • Loading branch information
Entkenntnis authored Dec 5, 2023
2 parents 33e58ac + d330c03 commit 2b7f841
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/e2e_tests_firefox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: e2e tests with firefox
on:
workflow_dispatch:
push:
branches:
- staging
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: actions/checkout@v3
with:
repository: 'serlo/frontend-e2e-tests'
- uses: patrickedqvist/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 1200
check_interval: 20
- run: yarn
- run: yarn test-firefox tests/4*.ts
- uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-screenshots-on-fail
path: output/ # or path/to/artifact

0 comments on commit 2b7f841

Please sign in to comment.