Skip to content

Fix Settings navigation keyboard-reorder E2E on Collate's nav order - #38109

Merged
Rohit0301 merged 1 commit into
mainfrom
Rohit0301/2-failing-specs-check
Nov 18, 2026
Merged

Rohit0301 merged 1 commit into
mainfrom
Rohit0301/2-failing-specs-check

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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 is Home → 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-data home route (#8671).

Tests

Ran locally (OSS, --repeat-each=10 --no-deps): 10/10 passed.

npx playwright test playwright/e2e/Features/SettingsNavigationPage.spec.ts --project=chromium --no-deps -g "keyboard users can reorder" --repeat-each=10

Type of change:

  • Bug fix (test)

Checklist:

  • I have read the CONTRIBUTING document.
  • ESLint and Prettier pass on the changed spec.

🤖 Generated with Claude Code

Playwright: 10/10 passed

RetriggerView in GreptileConfidence 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.

  • The keyboard reorder test follows the navigation rows it finds.

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

…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.
@Rohit0301
Rohit0301 requested a review from a team as a code owner November 18, 2026 10:58
@Rohit0301
Rohit0301 requested a review from karanh37 November 18, 2026 10:58
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟢 Low risk

The 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.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@Rohit0301
Rohit0301 merged commit 56d1f8e into main Nov 18, 2026
48 of 50 checks passed
@Rohit0301
Rohit0301 deleted the Rohit0301/2-failing-specs-check branch November 18, 2026 11:21
Rohit0301 added a commit that referenced this pull request Nov 18, 2026
…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)
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.

2 participants