test(ui): re-enable Domains, Data Product & domain-rename E2E suites#30447
test(ui): re-enable Domains, Data Product & domain-rename E2E suites#30447siddhant1 wants to merge 3 commits into
Conversation
Re-enables E2E coverage that was disabled by the mass-skip open-metadata#29909 and a few one-off skips, fixing the tests that had broken from UI migrations. Fixed: - Domains (9 suites): 47/49 already passed once run; fixed the 2 real failures, both migration selector drifts — "Add Assets" moved to the core-ui `asset-selection-modal` Dialog (old `form-heading` testid gone), and the tree toggle is now a `radio`, not a `button`. - DomainDataProductsWidgets: marked `test.describe.serial` (the suite is one sequential scenario: assign widgets -> add assets -> verify -> remove), and fixed the data-product asset-removal count-timing bug — wait for the asset card to render before counting, otherwise count() reads 0 and removes nothing. - GlossaryNavigation empty-state: assert the empty-glossary placeholder (message.no-glossary-term) instead of the "No Glossary Term found" row that only a non-matching status filter shows. Unskipped as-is (passed without changes): - Glossary "Request description task for Glossary Term" - EntityRenameConsolidation domain rename (x2) Left skipped (blocked on product/BE work, still documented): - DataMarketplace x3 (routes removed in open-metadata#27377) - GlossaryStatusFilterNestedTerms x5 (flat nested status-filter results not implemented; status-only queries route through directChildrenOf) - Glossary "Term should stay approved" (BE approval-workflow reverts it) BulkImport is untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
❌ 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! |
🔴 Playwright Results — 1 test failure(s)✅ 112 passed · ❌ 1 failed · 🟡 5 flaky · ⏭️ 1 skipped
Genuine Failures (failed on all attempts)❌
|
…dataproducts-e2e # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Domains.spec.ts
|
Superseded by #30451 — re-opened from a branch on |
Code Review 👍 Approved with suggestions 1 resolved / 2 findingsRe-enables previously skipped Playwright E2E suites for Domains, Data Products, and domain renames with updated component selectors and serial execution. Consider replacing the waitFor() call with a visible assertion for the drawer. 💡 Quality: Use a visible assertion instead of waitFor() for the drawer📄 openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Domains.spec.ts:3747
Assert the drawer form is visible rather than merely waiting for it.✅ 1 resolved✅ Quality: New describe block leaks created table entity (no afterAll)
🤖 Prompt for agentsOptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
What & why
Re-enables Playwright E2E coverage that had been switched off — mostly by the bulk-skip in #29909 ("Skip failing main specs") plus a few one-off skips. When actually run against a current build, the vast majority already pass; this PR fixes the handful that had genuinely broken (all from UI-component migrations) and re-enables everything that is green.
Re-enabled + fixed
describesuites)asset-selection-modalDialog (oldform-headingtestid gone); tree toggle is now aradio, not abutton.test.describe.serial— the suite is one sequential scenario (assign widgets → add assets → verify → remove); parallel execution violated that ordering. Also fixed the data-product asset-removal count-timing bug: wait for the asset card to render before counting (count()doesn't auto-wait, so it read 0 and removed nothing).message.no-glossary-term) instead of the"No Glossary Term found"row — that row only appears when a status filter matches nothing, not for a 0-term glossary.Left skipped (blocked on product/BE work — documented in-code)
/data-marketplace/*sub-routes removed in refactor(ui): render Data Marketplace home page on the main app layout #27377.directChildrenOf(root level); flat nested results would need the frontend to route status-only queries through the flat search API (which the search path already uses).BulkImportis intentionally untouched.Testing
All re-enabled tests verified green locally against a running stack (
localhost:8585): Domains 49/49, DomainDataProductsWidgets 6/6, GlossaryNavigation empty-state, Glossary request-description-task, EntityRenameConsolidation domain-rename ×2.🤖 Generated with Claude Code
Greptile Summary
Re-enables and updates previously skipped Playwright coverage.
Confidence Score: 5/5
The PR appears safe to merge because no eligible blocking failures remain.
No blocking failure remains within the scope of this follow-up review.
Important Files Changed
Reviews (3): Last reviewed commit: "Merge branch 'main' into sid/reenable-do..." | Re-trigger Greptile