Repository navigation
fix(test): settle the manage menu before pressing Delete on a subdomain - #33800
Conversation
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)
❌ 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 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. OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
✅ Playwright Results — workflow succeededValidated commit ✅ 63 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking 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:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
🚦 Removed from the merge queue —
|
Describe your changes:
chromium-09waited 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
mousedownon the item andmouseupwhere 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-motionto strip the-appear/-enterclasses before pressing it. Scoped to this one call site — it is the only manage-button → delete-button pair in the file.Type of change:
Notes:
Cherry-picked from #33088 (commit
af008b3be5) to land as a small, independently-mergeable PR. Original commit authored by @harshach.🤖 Generated with Claude Code
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.
waitForAntdPopupToSettlehelper in the repository’s established interaction order.Reviews (1) · Last reviewed commit: "fix(test): settle the manage menu before..."