Skip to content

feat: Implement cookie to prefill username and password form #342

feat: Implement cookie to prefill username and password form

feat: Implement cookie to prefill username and password form #342

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
jobs:
test:
name: Tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0" # necessary for `npm run print-version`
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.7
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Unit tests
run: npm test
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: End-to-End tests
env:
TEST_SAFARI: yes
run: npm run test:e2e
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Report coverage
id: report
if: ${{ always() }}
run: npm run test:lcov
- name: Upload E2E test coverage
if: steps.report.outcome == 'success'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
flags: e2etests
fail_ci_if_error: true