Skip to content

Run Playwright e2e across Firefox and WebKit in addition to Chromium #98

Description

@Jagadeeshftw

📌 Description

playwright.config.ts defines only a Chromium project, so cross-browser regressions in Firefox and Safari/WebKit are never caught by the existing e2e suite. Adding the other engines closes a real coverage gap for the dashboard/leaderboard flows.

💡 Why it matters: Frontend bugs frequently differ across rendering engines; Chromium-only e2e misses them.

🧩 Requirements and context

  • Add firefox and webkit projects to playwright.config.ts.
  • Ensure the existing specs pass on all three (fix flakiness/engine-specific issues).
  • Keep the dev server/web server config working for all projects.
  • Document how to run a single browser locally.

Non-functional requirements

  • Must be secure, tested, and documented.
  • Should be efficient and easy to review.

🛠️ Suggested execution

1. Fork the repo and create a branch

git checkout -b test/e2e-cross-browser

2. Implement changes

  • Write/modify the relevant source: playwright.config.ts
  • Write comprehensive tests: existing specs under the e2e directory (extend/fix as needed)
  • Add documentation: README/e2e section on running per-browser
  • Include TSDoc comments
  • Validate security assumptions: n/a

3. Test and commit

  • Run tests:
npm run test:e2e
  • Cover edge cases: engine-specific layout/interaction differences
  • Include test output and security notes in the PR description.

Example commit message

test(e2e): run Playwright across chromium, firefox, and webkit

✅ Acceptance criteria

  • Firefox and WebKit projects added
  • Existing specs pass on all three engines
  • Per-browser run documented
  • No new flakiness introduced

🔒 Security notes

None; test tooling only.

📋 Guidelines

  • Minimum 95% test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

GrantFox OSSGrantFox open-source programMaybe RewardedGrantFox: potentially rewarded contributionOfficial CampaignGrantFox official campaign issuedevopsfrontendFrontend / UI worktestingTests and coverage

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions