Repository navigation
Fixes #30626: stabilize flaky Playwright specs - #30627
harsh-vador wants to merge 5 commits into
Conversation
❌ 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 — workflow succeededValidated commit ✅ 544 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 5 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 50m 31s ⏱️ Max setup 2m 49s · max shard execution 14m 27s · max shard-job elapsed before upload 17m 52s · reporting 5s 🌐 202.06 requests/attempt · 2.83 app boots/UI scenario · 9.92% common-shard skew Optimization targets still in progress:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
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! |
|
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! |
|
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 ✅ ApprovedStabilizes flaky Playwright tests by tightening Explore aggregation search response matching, adding explicit waits to Online Users tests, and refining the owner-selector retry logic. 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 |
Describe your changes:
Fixes #30626
I stabilized two flaky Playwright specs from the nightly run by tightening search-response matching in the Explore aggregation test and by navigating Online Users tests directly to the page under test with explicit API/status waits.
Type of change:
High-level design:
N/A - small change.
Tests:
Use cases covered
customerssearch responses instead of stale generic search responses./api/v1/users/online, loader completion, and rendered table state.Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ExploreAggregationCountsMatching.spec.tsopenmetadata-ui/src/main/resources/ui/playwright/e2e/Features/OnlineUsers.spec.tsManual testing performed
organize-imports-cliand Prettier on both changed specs.git diff --check.yarn lint:playwrightbecause the local Yarn setup reports this workspace package is not present in the lockfile andyarn install --immutablewould modify the lockfile.UI screen recording / screenshots:
Not applicable - no UI changes.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Greptile Summary
Stabilizes Playwright coverage by:
customersquery and expected pagination parameters.Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains, and the previously reported initial-response timeout is fixed by accepting the single results response regardless of its auto-selected index.
Important Files Changed
Reviews (4): Last reviewed commit: "fix(playwright): remove owner selector r..." | Re-trigger Greptile