test: add Tier B cross-block arrow navigation and held-block skip tests (closes #163) - #271
Conversation
|
Warning Review limit reached
This review includes 1 billable file and costs up to $0.25. Or wait 37 minutes for your next included review. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Your 38 included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (1)
Comment |
PR Summary by QodoAdd Tier B coverage for cross-block arrow navigation
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt |
Closes #163
Summary
Adds Playwright Tier B test coverage in
tests/e2e/tier-b.spec.tsfor real-browser cross-block keyboard navigation (ArrowUp/ArrowDown) across single and multi-line paragraphs, column preservation, and held-block skipping.Changes
ArrowDownfrom Block 1 transitions to Block 2's first line with column (clientX) preserved within 15px.ArrowDownat the bottom visual line of Block 2 transitions to Block 3 while preserving column.ArrowUpfrom Block 3 transitions back to Block 2, landing on its last visual line (not first line) while preserving column.ArrowUpfrom line 1.hold_records) on a middle block, replacing its editor with the shimmer placeholder.ArrowDownfrom the block above skips the held block and lands directly in the block below.ArrowUpfrom the block below skips the held block and lands directly in the block above.Verification
npx playwright test -g "issue #163"(all passed)npx playwright test tests/e2e/tier-b.spec.ts(11 passed)npm run lint && npm run check(0 errors, 0 warnings)