Skip to content

test(playwright): fix Context Center bulk-select and OSS workflow specs (2.1 backport of #37512) - #37513

Merged
anuj-kumary merged 3 commits into
2.1from
fix/playwright-bulk-select-oss-workflow-2.1
Nov 11, 2026
Merged

anuj-kumary merged 3 commits into
2.1from
fix/playwright-bulk-select-oss-workflow-2.1

Conversation

@anuj-kumary

Copy link
Copy Markdown
Member

Backport of #37512 to 2.1 (git cherry-pick -x, applied cleanly).

This fixes the chromium-25 (ContextCenterDocument bulk move/delete) and chromium-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.

  • Context Center: since Fixes #37309: Context Center Documents clear selection fails after folder/search changes #37325 a search change clears the selection, so selecting two files with a search per file left only one selected. The fix gives the files a shared prefix and selects both under one search (selectDocumentsBySearch).
  • OSS workflows: the list shows 12 per page and the seeded workflows fill page 1, so the test workflow was on page 2. The fix opens the detail page by URL.

Test-only change. See #37512 for the full write-up and checks.

🤖 Generated with Claude Code

… 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)
@anuj-kumary
anuj-kumary requested a review from a team as a code owner November 11, 2026 05:19
@anuj-kumary
anuj-kumary requested review from shah-harshit and removed request for a team November 11, 2026 05:19
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@anuj-kumary anuj-kumary added safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Nov 11, 2026
@anuj-kumary
anuj-kumary enabled auto-merge (squash) November 11, 2026 05:55
…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
@gitar-bot

gitar-bot Bot commented Nov 11, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟢 Low risk

The 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.

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

auto-merge was automatically disabled November 11, 2026 07:34

Pull request was closed

@anuj-kumary anuj-kumary reopened this Nov 11, 2026
@anuj-kumary
anuj-kumary enabled auto-merge (squash) November 11, 2026 07:37
@anuj-kumary
anuj-kumary merged commit c5ae8ea into 2.1 Nov 11, 2026
57 checks passed
@anuj-kumary
anuj-kumary deleted the fix/playwright-bulk-select-oss-workflow-2.1 branch November 11, 2026 07:40
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 skip-pr-checks Bypass PR metadata validation check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants