Skip to content

test(web): make browser harness cross-engine faithful - #13

Draft
0xkkonrad wants to merge 2 commits into
mainfrom
test/cross-browser-harness
Draft

test(web): make browser harness cross-engine faithful#13
0xkkonrad wants to merge 2 commits into
mainfrom
test/cross-browser-harness

Conversation

@0xkkonrad

@0xkkonrad 0xkkonrad commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Why

The nightly cross-browser matrix exposed deterministic harness assumptions: programmatic focus was treated as keyboard focus, the link-share test requested Chromium-only clipboard permissions in Firefox, and the mobile project combined an iPhone/WebKit device descriptor with Firefox. A cold WebKit run also showed that typing could race React hydration.

What

  • drive drawer focus assertions through the actual keyboard tab order
  • stub the clipboard write contract before navigation and assert the copied room payload
  • wait for React to own an SSR control before typing, without a timing sleep
  • retain the 390px/touch test surface in Firefox using its native UA and supported context capabilities

No product code or product assertion is changed.

Proof

  • Chromium desktop focused journeys: 2/2
  • Firefox desktop focused journeys: 2/2
  • WebKit desktop focused journeys: 2/2
  • Firefox narrow-device smoke: focus and share journeys pass; viewport resize completes
  • Firefox then exposes a genuine remaining import-fold assertion at 320x700, so this PR remains draft pending that separate product decision
  • web typecheck at c471c75: green
  • current config plan, Prettier and diff check: green

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Note

🎁 Summarized by CodeRabbit Free

Your organization has reached its limit of developer seats. For new users, CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please add seats to your subscription by visiting https://app.coderabbit.ai/settings/billing. If you believe this is a mistake and have available seats, please assign one to the pull request author through the team management page at https://app.coderabbit.ai/settings/team-management.

Comment @coderabbitai help to get the list of available commands.

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.

1 participant