Repository navigation
QA: desktop and mobile browser playability smoke checks - #7
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aadc654bd9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (game === 'neon-streets') { | ||
| if (mobile) { | ||
| const button = page.locator('[data-key="ArrowUp"]'); | ||
| await button.dispatchEvent('pointerdown', { pointerId: 1, bubbles: true }); |
There was a problem hiding this comment.
Use a real active pointer for the mobile throttle
In the mobile Neon Streets run, dispatchEvent creates a synthetic DOM event but does not register pointerId: 1 as an active browser pointer. The game's pointerdown handler consequently throws NotFoundError when it calls setPointerCapture(1); the pageerror listener records that exception and the check at the end marks every mobile run as failed even if acceleration succeeds. Drive this with a real Playwright pointer/touch action, or otherwise avoid triggering pointer capture with an inactive synthetic pointer.
Useful? React with 👍 / 👎.
Playwright smoke checks for both games. Merge only after CI passes.