Skip to content

fix(test): settle the manage menu before pressing Delete on a subdomain - #33800

Merged
chirag-madlani merged 1 commit into
mainfrom
chirag-madlani/subdomain-delete-menu-settle
Sep 23, 2026
Merged

chirag-madlani merged 1 commit into
mainfrom
chirag-madlani/subdomain-delete-menu-settle

Conversation

@chirag-madlani

@chirag-madlani chirag-madlani commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Describe your changes:

chromium-09 waited 15s for the delete dialog and never got one. The failure snapshot says why without ambiguity: the manage menu is still open, and its "Delete" item is [active] — focused, not activated.

That is the Ant overlay signature: pressing an item while the dropdown is still scaling puts mousedown on the item and mouseup where it has since moved to, so the browser never synthesises a click; the item takes focus, the menu stays open, and the dialog that was supposed to follow never opens.

Same fix as the other overlays on this codebase: prove the item is mounted, then wait for rc-motion to strip the -appear/-enter classes before pressing it. Scoped to this one call site — it is the only manage-button → delete-button pair in the file.

Type of change:

  • Test fix (removes Ant overlay animation race)

Notes:

Cherry-picked from #33088 (commit af008b3be5) to land as a small, independently-mergeable PR. Original commit authored by @harshach.

🤖 Generated with Claude Code

RetriggerConfidence Score: 5/5

The PR appears safe to merge and correctly applies the repository’s established synchronization pattern for animated dropdown interactions.

Summary

This PR stabilizes recursive subdomain deletion in the Playwright suite by waiting for the Ant Design manage-menu animation to finish before clicking Delete.

  • Verifies that the delete item is visible before waiting.
  • Reuses the existing waitForAntdPopupToSettle helper in the repository’s established interaction order.
  • Changes test synchronization only; application behavior is unaffected.

Reviews (1) · Last reviewed commit: "fix(test): settle the manage menu before..."

chromium-09 waited 15s for the delete dialog and never got one. The
failure snapshot says why without ambiguity: the manage menu is still
open, and its "Delete" item is [active] -- focused, not activated.

That is the Ant overlay signature this branch has been chasing. Pressing
an item while the dropdown is still scaling puts mousedown on the item
and mouseup where it has since moved to, so the browser never synthesises
a click; the item takes focus, the menu stays open, and the dialog that
was supposed to follow never opens.

Same fix as the other overlays: prove the item is mounted, then wait for
rc-motion to strip the -appear/-enter classes before pressing it. Scoped
to this one call site -- it is the only manage-button -> delete-button
pair in the file.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit af008b3)
@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.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Sep 22, 2026
@gitar-bot

gitar-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟢 Low risk · Narrow Playwright test synchronization change only; application runtime behavior is unchanged.

Fixes a flaky test by settling the Ant Design manage menu overlay before pressing Delete on a subdomain, preventing the animation race that caused the delete dialog to never open. No issues found.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

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

@github-actions

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit f0144e2c4a52a92c3b5d4c9c910418def81c143a in Playwright run 35715623942, attempt 1.

✅ 63 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky

Performance

Blocking targets: ✅ met · Optimization targets: 🟡 in progress

Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting.

🕒 Full workflow signal wall (to summary) 39m 9s

⏱️ Max setup 3m 5s · max shard execution 9m 8s · max shard-job elapsed before upload 12m 29s · reporting 3s

🌐 162.02 requests/attempt · 1.34 app boots/UI scenario · 0.00% common-shard skew

Optimization targets still in progress:

  • Application boot ratio was 1.34 per UI scenario (90 boots / 67 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
🟡 Shard chromium-01 63 0 1 0 0 0
🟡 1 flaky test(s) (passed on retry)
  • Pages/DataProductAndSubdomains.spec.ts › Create multiple sibling subdomains under a domain (shard chromium-01, 1 retry)

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

@chirag-madlani
chirag-madlani added this pull request to the merge queue Sep 22, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — failed_checks (2026-09-22T16:51:01Z)

Blocked the queue: playwright-summary

@chirag-madlani
chirag-madlani added this pull request to the merge queue Sep 23, 2026
Merged via the queue into main with commit 9bb3b9d Sep 23, 2026
97 of 99 checks passed
@chirag-madlani
chirag-madlani deleted the chirag-madlani/subdomain-delete-menu-settle branch September 23, 2026 05:37

This branch was previously deployed

1 inactive deployment
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.

4 participants