Description
Verify the game’s reconnect behavior specifically within the context of the site’s homepage iframe. This task ensures that the hardening work performed in the app repo (play.phalanxduel.com) translates to a seamless experience for site visitors.
Acceptance Criteria
- #1 Verify that the app’s reconnect UI renders correctly and is usable within the homepage iframe.
- #2 Test session persistence across subdomains (phalanxduel.com -> play.phalanxduel.com) specifically for the embed context.
- #3 Verify that ‘Match Full’ or ‘Reconnect’ overlays don’t break the responsive container in the site’s CSS.
- #4 Confirm that the site’s analytics correctly track ‘Resume’ or ‘Reconnect’ interactions initiated from the homepage embed.
Final Summary
Verified match session persistence in the homepage iframe embed using a local development environment. The switch to localStorage (Commit f60ea6c9) successfully allows matches to recover across parent page refreshes and iframe re-initializations. Verified environment-aware URL switching (Site points to local game during development).
Definition of Done
- #1 The a11y is run agains the site and all claims are verified against the official rules and guidlines for Phalanx Duel