Repository navigation
fix(playwright): paginate across pages in GlossaryTermRelationSettings tests [1.13] - #30712
Conversation
…s tests Backport of open-metadata#30672 to 1.13. Parallel test workers accumulate relation types that push the table beyond PAGE_SIZE_BASE (15), sending target rows to page 2+. Added a findRowAcrossPages helper that clicks Next Page until the target data-testid is visible; edits, deletes, and locks system-defined tests call it before interacting with the row. Co-Authored-By: Claude Sonnet 4.6 <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! |
Code Review ✅ ApprovedBackports a Playwright test fix for GlossaryTermRelationSettings by adding a pagination helper to find target rows across pages. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source |
61b5301
into
open-metadata:1.13
Summary
Backport of #30672 to the
1.13branch.PAGE_SIZE_BASE(15), sending target rows to page 2+edits,deletes, andlocks system-definedtests were failing because they only inspected page 1findRowAcrossPageshelper that clicks Next Page until the targetdata-testidis visible, then each affected test calls it before interacting with the rowTest plan
edits a custom relation type and keeps the name immutable— now navigates to the correct page before clicking the edit buttondeletes a custom relation type— now navigates to the correct page before checking visibility and deletinglocks system-defined relation types from edit and delete— now navigates to findrelatedTobefore asserting disabled statecreatesandpaginatestests are unaffected🤖 Generated with Claude Code
Greptile Summary
Adds a Playwright helper that searches paginated glossary relation-type rows and uses it before edit, delete, and system-defined relation assertions.
Confidence Score: 5/5
The PR appears safe to merge with no actionable defects identified.
The helper begins from the first page, waits for each pagination response, polls for the requested row while React updates the DOM, and stops cleanly when no further page exists.
Important Files Changed
Reviews (1): Last reviewed commit: "fix(playwright): paginate across pages i..." | Re-trigger Greptile