feat: add mobile responsive flow tests - #1034
Merged
ayomideadeniran merged 1 commit intoAug 3, 2026
Merged
Conversation
|
@Stanley-Owoh is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@somotochukwu-dev 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! 🚀 |
Contributor
|
pr under review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add mobile-first responsive Playwright tests for the core learning and wallet flows. The tests run against both the
chromium(desktop) andmobile-chrome(Pixel 7) Playwright projects, with mobile-specific assertions gated behindisMobile.Changes
frontend/e2e/tests/responsive.spec.ts(new file)13 tests across 5 concern areas, all using the existing
web3.fixturefor wallet mocking:Home page — overflow check on any viewport, CTA reachability on mobile, feature card width containment on mobile.
Mobile navigation — hamburger menu toggle, link visibility on mobile, absence of hamburger on desktop (confirms
xl:hiddenbreakpoint).Wallet authentication prompt — wallet gate rendering without horizontal overflow on both viewports, button viewport containment on mobile (verifying touch targets are tappable).
Learning dashboard with wallet — dashboard overflow on both viewports, course selector / lesson controls reachability on mobile, Prev/Next footer controls on mobile.
Error and loading states — error boundary messages contain no stack traces, module paths, or file:line patterns on API failure, and the retry action ("Try again") is present. Loading skeleton renders without overflow.
Acceptance criteria coverage
scrollWidth <= clientWidthchecked on every page)isMobileskips)Closes #932