Skip to content

Add Playwright workflow for testing#125

Draft
alyssaweber2 wants to merge 1 commit into
mainfrom
playwright-workflow
Draft

Add Playwright workflow for testing#125
alyssaweber2 wants to merge 1 commit into
mainfrom
playwright-workflow

Conversation

@alyssaweber2

Copy link
Copy Markdown

Workflow runs two pre-configured Playwright tests with a pre-made Recapp quiz. One playwright test contains a 5-second delay when answering each question, while the other test does not. A more optimized workflow is planned.

Workflow runs two pre-configured Playwright tests with a pre-made Recapp quiz. One playwright test contains a 5-second delay when answering each question, while the other test does not. A more optimized workflow is planned.
Comment on lines +10 to +49
name: Run Playwright Tests on Feature Branch
runs-on: ubuntu-latest

steps:
- name: Checkout feature/implementing-playwright branch
uses: actions/checkout@v4
with:
ref: feature/implementing-playwright

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Install Playwright system dependencies
run: npx playwright install-deps

- name: Install Playwright browsers
run: npx playwright install chromium

- name: Run Playwright Tests
run: |
npx playwright test \
recapp/tests/e2e/anon-sixQ-ans-allCorrect.wait.spec.ts \
recapp/tests/e2e/anon-sixQ-ans-halfCorrect.spec.ts \
--workers 1 \
--repeat-each 50 \
--timeout 60000 \
--trace on

- name: Upload Test Report as Artifact
uses: actions/upload-artifact@v3
with:
name: playwright-report
path: recapp/tests/e2e/test-report/
if-no-files-found: ignore
@codecov

codecov Bot commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@bitbacchus bitbacchus self-assigned this Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants