Repository navigation
Fix ontology Playwright and visual failures after the Ontology Studio restyle - #37622
Conversation
#37489 added the iof pack to fixtures/visual/ontology-packs.json (7 packs) but visualData.spec.ts still asserted 6, failing plan-playwright's 'Verify browser helper behavior' step on main.
❌ 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 riskUpdating a browser-test count assertion to derive from its fixture affects test expectations only and leaves application behavior unchanged. Updates the browser-helper ontology pack count assertion in 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:
The Postgres PR Playwright run (43166614722) had ~25 ontology E2E failures and 13 ontology visual-regression failures on
main. Nearly all of them come from the Ontology Studio restyle (#37587, #37607), which did not update the specs and scenarios, plus the browser-helper pack count broken by #37489.Product regressions (fixed, with Jest coverage)
OntologyGraphViewwaited forselectedId === editConceptRequest, but nothing selected the conceptOntologyGraphView.tsx)settleAfterCanvasResize(studioViewport.ts,useOntologyGraph.ts)conceptEditorwhen leaving Edit (OntologyGraphView.tsx)Tests updated to the intended redesign
ontology-concept-close/ontology-definition-drawer-close) before clicking covered controls (Publish, Add concept, Fit / Zoom), or select covered nodes from the keyboard.1 change: 1 concept(the release compare view keeps·); the active release downloads as<ontology>.<ext>; the health card needs Review before Connect; the column count moved to the columns toggle; the sub-bar is 62px in both modes; Import / Export dialogs are scoped by name.OntologyLargeGraphat 1024px: the 420px drawer floor means 400 nodes cannot all fit, so the test asserts that the selected concept stays visible and that the Find box comes back once the panel closes.visualData.spec.tscompares against the fixture's pack count (Land the ontology library stack on main (#37361, #37362, #37363, #37364, #37368) #37489 addediof).Visual regression
ontologies/<id>/working/validationand export reads invisualData.ts.ontology-export-dialogandontology-new-validationscenarios to the current UI.ontology-publication-picker, because that picker was removed from the product.page-ontology(light/dark),ontology-scope-menu,ontology-new-formandontology-librarybaselines from CI's Linux renders. The remaining ontology baselines will come from this PR's Playwright run.Test
studioViewport.test.tsand theOntologyGraphViewsuites, 108 passed.visualData+visualGeometry: 133 passed.Features/Ontology*spec, with terminal screenshots, will follow in a comment.Type of change:
🤖 Generated with Claude Code