Skip to content

Test case 06

Test case 06 #28

Workflow file for this run

name: Pipeline - Playwright Tests
on: [push]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Set the secrets
uses: SpicyPizza/create-envfile@v1
with:
envkey_STANDARD_USER: ${{ secrets.STANDARD_USER }}
envkey_LOCKED_USER: ${{ secrets.LOCKED_USER }}
envkey_PASSWORD: ${{ secrets.PASSWORD }}
file_name: .env
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30