Skip to content

Changed texts based on task requirements #21

Changed texts based on task requirements

Changed texts based on task requirements #21

name: Playwright Tests
on:
# Allow manual triggering
workflow_dispatch:
# Also run on push to main and pull requests
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install chromium
- name: Build the application
run: npm run build
- name: Run Playwright tests
run: npm run test:e2e
- name: Upload Playwright Report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Upload Test Results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: test-results/
retention-days: 30