Repository navigation
Fix Settings navigation keyboard-reorder E2E on Collate's nav order - #38109
Conversation
…order The test hardcoded the OSS sidebar order (Home, Explore, Lineage), so it failed on Collate, where Collate AI sits between Home and Explore. Read the first three top-level rows and build the drop-target names and the expected order from them.
❌ 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 spec derives reorder targets from rendered top-level rows, limiting the change to test coverage without changing production behavior. Makes the Settings navigation keyboard-reorder E2E test read the first three top-level nav rows at runtime instead of hardcoding OSS order, so it passes on both OSS and Collate. No issues found. 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 |
…order (#38109) (#38119) The test hardcoded the OSS sidebar order (Home, Explore, Lineage), so it failed on Collate, where Collate AI sits between Home and Explore. Read the first three top-level rows and build the drop-target names and the expected order from them. (cherry picked from commit 56d1f8e)
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


Confidence Score: 5/5
This test-only change appears safe to merge.Summary
Updates the keyboard-reorder test to follow the displayed navigation order in OSS and Collate.
No actionable issues found. Playwright was not run during this review.
Reviews (6) · Last reviewed commit: "Make the Settings navigation keyboard-re..." · Reviewed by Greptile