Repository navigation
test(playwright): fix Context Center bulk-select and OSS workflow specs (2.1 backport of #37512) - #37513
Conversation
… workflows by URL Context Center: since #37325 changing the documents search clears the selection, so selecting two files with a search per file left only the last one selected and '2 selected' never appeared. Give the files a shared prefix and select both under one search (selectDocumentsBySearch). Workflows: the list shows 12 cards per page and the seeded workflow definitions already fill page 1, so the test workflow was on page 2 and never clickable. Open the detail page by URL. (cherry picked from commit 899e67f)
❌ 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 |
…lect-oss-workflow-2.1 # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/ContextCenterDocument.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/e2e/nightly/ContextCenter.spec.ts # openmetadata-ui/src/main/resources/ui/playwright/utils/ContextCenterUtil.ts
Code Review ✅ Approved 🟢 Low riskThe PR only adjusts Playwright test selection and workflow navigation, leaving application runtime behavior and public interfaces unchanged. Backports the Playwright test fixes from #37512 to the 2.1 branch: Context Center bulk-select now selects both documents under one shared-prefix search, and the OSS workflow spec opens the workflow detail page by URL instead of relying on list pagination. Test-only change. No issues found. 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 |
Pull request was closed
Backport of #37512 to
2.1(git cherry-pick -x, applied cleanly).This fixes the
chromium-25(ContextCenterDocument bulk move/delete) andchromium-20(WorkflowOssRestrictions) failures in the 2.1 release-branch E2E runs, on both MySQL and Postgres: https://github.com/open-metadata/OpenMetadata/actions/runs/42933482899, https://github.com/open-metadata/OpenMetadata/actions/runs/42933493444.selectDocumentsBySearch).Test-only change. See #37512 for the full write-up and checks.
🤖 Generated with Claude Code