Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

feat: added Playwright and created 2 demo tests #4

feat: added Playwright and created 2 demo tests

feat: added Playwright and created 2 demo tests #4

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.42.1-jammy
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
cache: yarn
cache-dependency-path: "yarn.lock"
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30