Skip to content

Github: add e2e-tests #1

Github: add e2e-tests

Github: add e2e-tests #1

Workflow file for this run

name: E2e tests
on:
push:
branches: [feature/ssr-confirm-test]
pull_request:
branches: [feature/ssr-confirm-test]
jobs:
playwright:
name: "Login e2e tests"
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.46.1-jammy
steps:
- uses: actions/checkout@v4
- name: enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Build test version
run: yarn test:build
- name: Run tests
run: yarn test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30