Skip to content

chore(tests): setup playwright #1

chore(tests): setup playwright

chore(tests): setup playwright #1

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
types:
- ready_for_review
jobs:
test:

Check failure on line 10 in .github/workflows/playwright.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/playwright.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
env:
TESTER_USER_NAME: ${{ secrets.TESTER_USER_NAME }}
TESTER_PASSWORD: ${{ secrets.TESTER_PASSWORD }}
run: USER_NAME=TESTER_USER_NAME PASSWORD=TESTER_PASSWORD npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30