Skip to content

[2.1] Make the Settings navigation keyboard-reorder E2E independent of nav order (backport 2.1 #38109) - #38119

Merged
Rohit0301 merged 1 commit into
2.1from
Rohit0301/pr-38109-backport
Nov 18, 2026
Merged

Rohit0301 merged 1 commit into
2.1from
Rohit0301/pr-38109-backport

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #38109 to 2.1 (clean cherry-pick of 56d1f8e74ce).


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

🤖 Generated with Claude Code

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

  • The keyboard reorder test follows the first three navigation rows.

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

…order (#38109)

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)
@Rohit0301
Rohit0301 requested a review from a team as a code owner November 18, 2026 12:48
@Rohit0301 Rohit0301 added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs labels Nov 18, 2026
@Rohit0301
Rohit0301 requested review from ShaileshParmar11 and removed request for a team November 18, 2026 12:48
@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 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 (data-key and aria-label) instead of hardcoding the OSS sidebar sequence, 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 0c95c8d into 2.1 Nov 18, 2026
43 of 45 checks passed
@Rohit0301
Rohit0301 deleted the Rohit0301/pr-38109-backport branch November 18, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants