Repository navigation
fix(playwright): route vice-versa test through openGlossaryPicker helper - #33634
Conversation
The glossary trigger in "Tag and Glossary Selector should close vice versa" used a raw .click(), while every other glossary flow migrated in the picker refactor (#33565) went through openGlossaryPicker, which retries the click on slow CI when the react-aria trigger is not ready yet. That gap made the test flaky on six shards in the PR run (passed on retry) and failed both attempts on the merge-queue rerun for #33501 (run 35447520393). Routing this last call site through the helper closes the gap. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
❌ 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 Routes the glossary trigger click in the "Tag and Glossary Selector should close vice versa" test through 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 ✅ 398 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) 34m 55s ⏱️ Max setup 3m 12s · max shard execution 16m 48s · max shard-job elapsed before upload 20m 14s · reporting 5s 🌐 250.31 requests/attempt · 2.46 app boots/UI scenario · 8.83% 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 |
Picks up #33634, which routes the 'Tag and Glossary Selector should close vice versa' Playwright test through openGlossaryPicker. That test fails deterministically against this branch's previous merge base: the picker refactor (#33565) left the glossary trigger on a raw click that does not retry when the react-aria trigger is not ready, and the assertion on the popover treegrid went with it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Describe your changes:
The glossary trigger click in `Entity.spec.ts` › Tag and Glossary Selector should close vice versa used a raw `.click()`, while every other glossary flow migrated in the picker refactor (#33565) goes through `openGlossaryPicker`, which retries the click with `force: true` when the react-aria trigger isn't ready on slow CI. That gap made the test flaky on six entity variants in the PR run (passed on retry) and failed both attempts on merge-queue run 35447520393 for PR #33501. This routes the last remaining call site through the helper.
Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
Not applicable.
Checklist:
The PR appears safe to merge; it makes the Playwright interaction more resilient without weakening the test’s observable assertions.
Summary
This PR stabilizes the entity selector mutual-exclusivity test by routing its glossary trigger through the existing picker helper.
Reviews (1) · Last reviewed commit: "fix(playwright): route vice-versa test t..."