Repository navigation
[2.1] Make the Settings navigation keyboard-reorder E2E independent of nav order (backport 2.1 #38109) - #38119
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟢 Low riskThe Playwright test derives navigation order from rendered rows, improving cross-variant coverage without changing production behavior. Makes the Settings navigation keyboard-reorder E2E test read the rendered top-level order ( VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Backport of #38109 to
2.1(clean cherry-pick of56d1f8e74ce).Describe your changes:
SettingsNavigationPage.spec.ts› keyboard users can reorder navigation items via the drag handle button (added in #38062) failed in the Collate nightly (postgresql/full). It hardcoded the OSS sidebar order (Home → Explore → Lineage), but Collate's tree isHome → Collate AI → Explore. The page snapshot shows that keyboard drag still works: focus was correctly on Insert between Home and Collate AI.The test now reads the first three top-level rows (
data-key+aria-label) and builds the drop-target names and the expected final order from them. It works on both OSS and Collate.The other failure in the same run (
AppModeUrlHandling› serves the home landing page at /my-data in AI mode) needs no OSS change. The image's Collate commit came before the 2.1 backport of the Collate/my-datahome route (#8671).Tests
Ran locally (OSS,
--repeat-each=10 --no-deps): 10/10 passed.Type of change:
Checklist:
🤖 Generated with Claude Code
🤖 Generated with Claude Code


Confidence Score: 5/5
This test-only change appears safe to merge.Summary
Updates the keyboard-reorder test to work with different navigation orders in OSS and Collate.
No actionable issues found. Tests were not run during this review.
Reviews (1) · Last reviewed commit: "Make the Settings navigation keyboard-re..." · Reviewed by Greptile