Skip to content

Fixes #35818: Close the Ontology import/export dialog with its Close button in OntologyNativeStudio spec - #35819

Merged
harshach merged 1 commit into
mainfrom
anuj-kumary/dataproductlifecycle-failing-check
Oct 21, 2026
Merged

harshach merged 1 commit into
mainfrom
anuj-kumary/dataproductlifecycle-failing-check

Conversation

@anuj-kumary

@anuj-kumary anuj-kumary commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

Fixes #35818

Unblocks the merge queue: every Playwright merge-group run on top of adb1d317 (#35812) fails on this spec.

RCA

  • Symptom: OntologyNativeStudio.spec.ts › authors a native model through the shared View, Edit, and Query shell times out on all 3 attempts at line 568, waiting for getByRole('dialog').getByRole('button', { name: 'Cancel' }).
  • Root cause: the spec closes the import/export dialog with a Cancel button that OntologyReleaseExportModal never renders. The dialog only has the header CloseButton (aria-label="Close") and, on the export tab, an Export footer button. Every step before line 568 passes.
  • Why it wasn't caught: Fixes 34339: Complete native Ontology Studio workflows #35812 added the spec but merged without a merge-queue Playwright run (its PR playwright check was skipped), so the spec ran for the first time after it landed.
  • Blast radius:

Fix

Click the dialog's Close button and assert the dialog is gone. This is the control a user actually has, and the spec now proves the dialog closes instead of ending on a click.

Type of change:

  • Bug fix

High-level design:

N/A — small change.

Tests:

Use cases covered

  • The import/export dialog opened from the native Ontology Studio closes from its Close button.

Unit tests

Not applicable (test-only change).

Backend integration tests

  • Not applicable (no backend API changes).

Ingestion integration tests

  • Not applicable (no ingestion changes).

Playwright (UI) tests

  • Files updated: playwright/e2e/Features/OntologyNativeStudio.spec.ts

The spec needs the #35812 backend, so it wasn't run locally; the merge queue runs it. The locator matches CloseButton's aria-label (label.close → "Close"), the only button with that name in the dialog.

Manual testing performed

N/A — test-only change.

UI screen recording:

Not applicable — test-only fix.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

This test-only fix appears safe to merge.

Summary

Updates OntologyNativeStudio.spec.ts to click the import/export dialog’s actual Close button.

  • The Ontology Studio test closes the import/export dialog with Close.

Reviews (1) · Last reviewed commit: "Fixes #35818: close the Ontology import/..." · Reviewed by Greptile

…button

OntologyNativeStudio clicked a Cancel button the dialog never had, so it
timed out on every run and has failed every merge-queue Playwright run
on top of #35812 and the nightly AUT.
@anuj-kumary
anuj-kumary requested a review from a team as a code owner October 21, 2026 02:32
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

@github-actions github-actions Bot added the UI UI specific issues label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@gitar-bot

gitar-bot Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟢 Low risk · The Playwright spec now clicks the dialog’s existing Close control and checks dismissal; this narrowly fixes test coverage without changing application behavior.

Replaces the nonexistent Cancel button in the Ontology import/export dialog spec with the dialog's Close button and asserts the dialog closes, unblocking the merge queue. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

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

@anuj-kumary anuj-kumary self-assigned this Oct 21, 2026
@anuj-kumary anuj-kumary added the safe to test Add this label to run secure Github workflows on PRs label Oct 21, 2026
@anuj-kumary
anuj-kumary enabled auto-merge October 21, 2026 03:06
@harshach
harshach disabled auto-merge October 21, 2026 03:26
@harshach
harshach merged commit ba39203 into main Oct 21, 2026
114 of 117 checks passed
@harshach
harshach deleted the anuj-kumary/dataproductlifecycle-failing-check branch October 21, 2026 03:26
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.

OntologyNativeStudio.spec.ts fails on every run: clicks a Cancel button the import/export dialog does not have

2 participants