Skip to content

Better pipeline

Better pipeline #43

Workflow file for this run

name: Playwright Tests

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

View workflow run for this annotation

GitHub Actions / .github/workflows/playwright.yml

Invalid workflow file

(Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
frontend-testing:
needs: publish
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: Kattenelvis/flowback-interface-testing
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run Smoke tests (basic login functionality for all default users)
run: npx playwright test -g "Smoke-Test" --project chromium --retries 0
--workers 1 --trace on
- name: Run the rest of the tests
run: npx playwright test . --project chromium --retries 0 --workers 1 --trace on
--grep-invert "Smoke-Test"
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: |
playwright-report/
test-results/
retention-days: 30