Skip to content

Fix blog 5.4: correct plan name to asp-talent-f1-dev, note system mas… #32

Fix blog 5.4: correct plan name to asp-talent-f1-dev, note system mas…

Fix blog 5.4: correct plan name to asp-talent-f1-dev, note system mas… #32

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
env:
PLAYWRIGHT_DIR: 'Tests/AngularNetTutorial-Playwright'
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
working-directory: ${{ env.PLAYWRIGHT_DIR }}
run: npm ci
- name: Install Playwright Browsers
working-directory: ${{ env.PLAYWRIGHT_DIR }}
run: npx playwright install --with-deps
- name: Run Playwright tests
working-directory: ${{ env.PLAYWRIGHT_DIR }}
env:
ANGULAR_APP_URL: ${{ secrets.ANGULAR_APP_URL }}
API_APP_URL: ${{ secrets.API_APP_URL }}
IDENTITY_SERVER_URL: ${{ secrets.IDENTITY_SERVER_URL }}
run: npx playwright test --project=smoke
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: ${{ env.PLAYWRIGHT_DIR }}/playwright-report/
retention-days: 30