Repository navigation
test(playwright): fix TeamsHierarchy profile-edit and nested-column tag merge-queue failures - #35925
Conversation
…ag merge-queue failures TeamsHierarchy "Only Group teams are selectable in user profile teams edit" clicked Cancel while the multi-select team tree was still open. Since #35253 the tree is its own overlay over a fixed-height card, and when it opens below the input it covers the Cancel/Save row, so every click was intercepted by the treegrid. Dismiss the tree with Escape first, as selectTeamInPicker already does. The Table and Dashboards "expand / collapse should not appear after updating nested fields" tests do two tag round-trips on the two heaviest column pages. On a busy runner the page stalls long enough to exhaust the 30s tag-picker open retry and the 60s test budget. Give both tests test.slow() and let the column tag helpers take an opt-in picker timeout.
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
Code Review ✅ Approved🟡 Medium risk · Extending Playwright picker and test timeouts could delay detection of a genuinely stalled tag picker; Escape only changes test dismissal flow. Test-only fix for merge-queue flakes in TeamsHierarchy profile-edit and nested-column tag tests: adds an Escape step to dismiss the team tree before clicking Cancel, and extends timeouts for the heaviest column pages. 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 |
Describe your changes:
Fixes the merge-queue failures of:
TeamsHierarchy.spec.ts› Only Group teams are selectable in user profile teams editTable.spec.ts› expand / collapse should not appear after updating nested fields tableDashboards.spec.ts› expand / collapse should not appear after updating nested fields for dashboardDataModelsNone of these failures came from the PRs that were ejected. Each merge group held one unrelated PR (jetty bump, Kafka OpenLineage, search-settings colours, usageSummary, …).
1. TeamsHierarchy: the team tree covers the Cancel button
From 19:46 to 22:47 UTC on 2026-10-21, every merge group failed on this test (17 runs, both retries each). It was the most frequent failing test in the merge queue from Oct 19 to Oct 22 (21 of 48 failing runs).
teams-edit-close-btnfails withtreegrid "Search for teams" … subtree intercepts pointer eventsuntil the 60 s timeout.TreeSelect:tw:h-39card. Before, aMutationObservergrew the card by the dropdown's height, so the tree pushed Cancel/Save down instead of covering them.multipletree stays open after a pick. When it opens below the input it sits on top of Cancel/Save, and its outside-pointerdown dismissal can't fire because the pointer lands on the tree itself. It only flips above the input when there isn't enough room below, which depends on the profile layout. That is why the result followed the shard plan rather than the PR.selectTeamInPicker(utils/userDetails.ts) already takes beforeUserDetails.specclicks Save in the same popover.2. Table / Dashboards nested-field tag tests: not enough time on the heaviest column pages
performance_test_tableandbig_analytics_data_model_with_nested_columns.isVisible()took 29 s, because its reply reached the test worker 20 s after the browser answered.clickUntilVisible's 30 s window for opening the tag picker (Timeout 30000ms exceeded while waiting on the predicate), or the 60 s test timeout.test.slow()in both tests, sized for degraded shards as the handbook's budget rules ask.openClassificationTagPickergets an optionaltimeout, forwarded byassignTagToChildren/removeTagsFromChildrenas an opt-inpickerTimeout. Only these two tests passLONG_ACTION_TIMEOUT; every other caller keeps the 30 s default.Type of change:
High-level design:
N/A — test-only fix in 4 files.
Tests:
Use cases covered
Unit tests
Not applicable — Playwright-only change.
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
e2e/Features/TeamsHierarchy.spec.ts,e2e/Features/Table.spec.ts,e2e/Features/Dashboards.spec.ts,utils/entity.tsLocal runs (Vite on this branch, proxied to a local 2.0.0-SNAPSHOT server, admin in classic mode):
TeamsHierarchy.spec.ts(Basic project), whole serial filetreegrid … intercepts pointer events(same as CI)--repeat-each=3in parallel,origin/maincodeTimeout 30000ms exceeded while waiting on the predicate(same as CI)Dashboards.spec.tswas not run locally: the local server has nosample_supersetdata. Its change has the same shape as the Table one.yarn lint:playwright: 0 errors. Prettier: clean.tsc --project playwright/tsconfig.json: the same 115 errors asorigin/main, none in the changed files.make playwright_affectedlists ~260 specs becauseutils/entity.tsis a shared helper. I didn't run them locally. The helper change is an optional parameter that defaults to the existing behaviour.Manual testing performed
UI screen recording:
Not applicable — test-only change, no product UI change.
Product follow-up worth a ticket: a mouse user hits the same occlusion. After picking a team, Cancel/Save sit under the tree until it is dismissed.
Checklist:
I have read the CONTRIBUTING document.
My PR title is
Fixes <issue-number>: <short explanation>— test fix: descriptive title,skip-pr-checks.My PR is linked to a GitHub issue via
Fixes #<issue-number>above — test fix, no issue.I have commented on my code, particularly in hard-to-understand areas.
For JSON Schema changes: N/A.
For a UI feature or feature task: N/A — test-only.
I have added tests (unit / integration / Playwright as applicable) and listed them above.
Self-review: I reviewed the final diff against
REVIEW.md; no 🔴 findings.Decision check: no durable decision; no record needed.
I have added a test that covers the exact scenario we are fixing.
🤖 Generated with Claude Code


Confidence Score: 5/5
This test-only PR appears safe to merge.Summary
This PR adjusts Playwright tests for three merge-queue failures.
No actionable issues were found. This review checked the code paths; it did not rerun the tests.
harsh-vador explicitly acknowledged the existing profile button occlusion and deferred it as a product follow-up. This PR changes the test, not the product behavior.
Reviews (1) · Last reviewed commit: "chore(playwright): auto-refresh impact-m..." · Reviewed by Greptile