Repository navigation
fix(ui): unblock the merge queue — product tour fixtures and ontology Studio Playwright failures - #36645
Conversation
#36188 mounted OntologyTasksDrawer on the Ontology Explorer page; its pending/created count queries run on mount, so the Classic product tour sent them to the server and ProductTour.spec.ts failed on every merge-queue run.
❌ 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 |
|
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! |
…36190 - OntologyReleaseReviewers: allow an empty collection once text is typed. The search starts on focus, so its results land after a fast fill; React Aria only opens the list on a text change with options present, so the reviewer options never appeared (OntologyReview.spec.ts:348). - OntologyStudioHeader (AI mode): move the scope menu and actions onto the wrapping tab row. PageHeader's actions slot never shrinks, so at 924px beside the Governance panel the Tasks button ran ~95px past the viewport and the subtitle collapsed to one word per line. - OntologyNativeTreeShell.spec.ts: drop the one-row assertion; the AI header puts the mode tabs on their own row by design. - OntologyNativeOperations.spec.ts: since #36187 only a definitive rejection offers Retry review, on ontology-recovery-action; a 5xx only offers Check status. Mock a 422 and use that button.
⚪ Playwright Results — workflow was cancelledValidated commit ✅ 0 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky ⚙️ No test failures. This run failed in CI infrastructure or reporting (see Pipeline and setup failures), not because of your changes — no test action needed from you. Pipeline and setup failures (10)
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) 22m 16s ⏱️ Max setup 0s · max shard execution 0s · max shard-job elapsed before upload 1m 25s · reporting 0s 🌐 0.00 requests/attempt · 0.00 app boots/UI scenario · 0.00% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
The reviewer picker searches only once focused, and React Aria opens its list only on a text change while options are already loaded, so filling the whole name at once left the list closed. Click the picker and wait for its first user search before typing. Reverts the allowsEmptyCollection change: it read the previous render's search text, so it never opened the list for a single fill.
🚦 Removed from the merge queue —
|
…Review
In a locked review the rule control also renders a focusable tooltip
trigger with the same name, so getByRole('button', { name: 'All' })
hit a strict-mode violation. The step never ran before the reviewer
picker step was fixed.
|
… Studio Playwright failures (#36645) * fix(ui): record Studio Tasks drawer counts in the Classic tour fixtures #36188 mounted OntologyTasksDrawer on the Ontology Explorer page; its pending/created count queries run on mount, so the Classic product tour sent them to the server and ProductTour.spec.ts failed on every merge-queue run. * fix(ui): repair the ontology Studio Playwright failures from #36187-#36190 - OntologyReleaseReviewers: allow an empty collection once text is typed. The search starts on focus, so its results land after a fast fill; React Aria only opens the list on a text change with options present, so the reviewer options never appeared (OntologyReview.spec.ts:348). - OntologyStudioHeader (AI mode): move the scope menu and actions onto the wrapping tab row. PageHeader's actions slot never shrinks, so at 924px beside the Governance panel the Tasks button ran ~95px past the viewport and the subtitle collapsed to one word per line. - OntologyNativeTreeShell.spec.ts: drop the one-row assertion; the AI header puts the mode tabs on their own row by design. - OntologyNativeOperations.spec.ts: since #36187 only a definitive rejection offers Retry review, on ontology-recovery-action; a 5xx only offers Check status. Mock a 422 and use that button. * test(playwright): expect the sentence-case Ontology library title #35989 renders the library drawer title sentence-case; #36190's spec still expected title case. It never ran that far before, because it failed earlier at the 924px header check. * test(playwright): load reviewer options before typing in OntologyReview The reviewer picker searches only once focused, and React Aria opens its list only on a text change while options are already loaded, so filling the whole name at once left the list closed. Click the picker and wait for its first user search before typing. Reverts the allowsEmptyCollection change: it read the previous render's search text, so it never opened the list for a single fill. * test(playwright): note why OntologyReview loads reviewer options first * test(playwright): match the disabled approval-rule select in OntologyReview In a locked review the rule control also renders a focusable tooltip trigger with the same name, so getByRole('button', { name: 'All' }) hit a strict-mode violation. The step never ran before the reviewer picker step was fixed.



Describe your changes:
Every merge-queue run fails Playwright on four specs. All four came in with #36187, #36188 and #36190, which merged with Playwright skipped; the nightly at
1df8e45e86d(#35989) was green. Example run.The Collate build failure (
UNRESOLVED_IMPORTofsparqlQuerySettings.json) is fixed separately by #36642 and is not part of this PR.Flow/ProductTour.spec.ts:199OntologyTasksDrawer, whose pending/created count queries run on page load. The Classic tour has no recorded response for them, so they reach the server./ontologies/reviewsresponses inclassicTour.fixtures.jsonFeatures/OntologyReview.spec.ts:348Features/OntologyNativeTreeShell.spec.ts:161PageHeader's actions slot, which never shrinks. At 924px beside the Governance panel the Tasks button ends ~95px past the viewport and the subtitle collapses to one word per line.Ontology librarytitle (#35989); that step never ran beforeFeatures/OntologyNativeOperations.spec.ts:429ontology-recovery-actionand only for a definitive rejection (4xx); a 5xx offers "Check status", deliberately, to avoid duplicate tasks.Tests
OntologyStudioHeaderandOntologyExplorerPagesuites pass.🤖 Generated with Claude Code