Skip to content

test: add Playwright mobile and desktop scenario coverage#675

Merged
AnnabelJoe merged 1 commit into
AnnabelJoe:mainfrom
ZainabJanee:feat/591-playwright-mobile-desktop-coverage
Jun 27, 2026
Merged

test: add Playwright mobile and desktop scenario coverage#675
AnnabelJoe merged 1 commit into
AnnabelJoe:mainfrom
ZainabJanee:feat/591-playwright-mobile-desktop-coverage

Conversation

@ZainabJanee

Copy link
Copy Markdown
Contributor

Summary

Closes #591

Adds Playwright mobile and desktop scenario coverage across five browser/device targets.

Changes

apps/web/playwright.config.ts

Added four new test projects alongside the existing Desktop Chrome:

  • firefox — Desktop Firefox
  • webkit — Desktop Safari
  • mobile-chrome — Pixel 5 emulation
  • mobile-safari — iPhone 13 emulation

apps/web/e2e/viewport.spec.ts (new file)

Three cross-viewport scenarios run across all five projects:

  1. Home page renders without horizontal overflow — asserts scrollWidth <= clientWidth so layout isn't broken on narrow screens.
  2. Verify page is usable on any viewport — fills the form and asserts the verified result is visible.
  3. Navigation is accessible — asserts either full nav links or a hamburger/menu toggle is visible.

Tested

All scenarios are mocked at the API layer so they run without a live server in CI.

Closes AnnabelJoe#591

- playwright.config.ts: add Firefox, WebKit (Desktop Safari), Pixel 5
  (mobile Chrome), and iPhone 13 (mobile Safari) projects alongside the
  existing Desktop Chrome project.
- e2e/viewport.spec.ts: three cross-viewport scenarios covering home page
  horizontal overflow, verify flow usability, and nav accessibility.
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

@ZainabJanee Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@AnnabelJoe AnnabelJoe merged commit d0a072b into AnnabelJoe:main Jun 27, 2026
6 of 16 checks passed
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.

Add Playwright mobile and desktop scenario coverage

2 participants