Skip to content

feat: add mobile responsive flow tests - #1034

Merged
ayomideadeniran merged 1 commit into
StellarDevHub:mainfrom
somotochukwu-dev:add-mobile-responsive-flow-tests-932
Aug 3, 2026
Merged

feat: add mobile responsive flow tests#1034
ayomideadeniran merged 1 commit into
StellarDevHub:mainfrom
somotochukwu-dev:add-mobile-responsive-flow-tests-932

Conversation

@somotochukwu-dev

Copy link
Copy Markdown
Contributor

Summary

Add mobile-first responsive Playwright tests for the core learning and wallet flows. The tests run against both the chromium (desktop) and mobile-chrome (Pixel 7) Playwright projects, with mobile-specific assertions gated behind isMobile.

Changes

frontend/e2e/tests/responsive.spec.ts (new file)

13 tests across 5 concern areas, all using the existing web3.fixture for 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:hidden breakpoint).

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

  • Selected flows pass at mobile viewports (navigation, wallet prompts, dashboard, courses)
  • Controls remain reachable (bounding box checks confirm elements stay within viewport width)
  • No horizontal overflow occurs (scrollWidth <= clientWidth checked on every page)
  • Playwright tests cover navigation and wallet prompts (dedicated test suites for both)
  • User-facing errors are actionable and do not expose internal details (error boundary assertions)
  • The affected flow remains usable on supported desktop and mobile layouts (tests run against both Playwright projects with conditional isMobile skips)

Closes #932

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@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.

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@ayomideadeniran

Copy link
Copy Markdown
Contributor

pr under review

@ayomideadeniran
ayomideadeniran merged commit fd819ef into StellarDevHub:main Aug 3, 2026
2 of 4 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.

[Frontend] Add mobile-first responsive tests for core learning and wallet flows

3 participants