Repository navigation
Fixes #33239: Add Playwright E2E coverage for DQ failure thresholds - #35486
Merged
Merged
Conversation
… thresholds Cover the threshold parameters in the test case form and on run results: - Custom SQL Query's operator and threshold unit render as sentences, never the stored <=, >=, ABSOLUTE or PERCENTAGE values, and the preview restates the choice. - A columnValuesToBeNotNull test created through the form with a 5% relative threshold passes on the same 3-in-100 null run that fails a strict test, and each run shows the threshold it was judged by beside the failed share and the evaluated rows.
TeddyCr
requested review from
ShaileshParmar11,
chirag-madlani and
karanh37
as code owners
October 14, 2026 23:25
TeddyCr
enabled auto-merge
October 14, 2026 23:42
Code Review ✅ Approved🟢 Low risk · The new focused Playwright spec checks threshold labels and seeded result presentation without changing application runtime behavior. Adds Playwright E2E coverage for DQ failure thresholds, checking that enum parameters render as readable sentences in the test case form and that a relative 5% threshold turns the same failing rows into a passing run. 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 |
shah-harshit
approved these changes
Oct 15, 2026
ShaileshParmar11
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes:
Fixes #33239
This adds Playwright E2E coverage for DQ failure thresholds (epic #16301, W4.1). The user docs for this issue live in the docs repo: open-metadata/docs-om#605.
openmetadata-docs/no longer exists in this repo.New spec:
playwright/e2e/Features/DataQuality/FailureThreshold.spec.ts<,>,==or!=, and the selected value reads "at least", not>=.ABSOLUTE/PERCENTAGE.columnValuesToBeNotNulltest is created through the form with 5% of rows. The preview sentence is checked, and so are the savedthreshold/thresholdUnitvalues in the POST response.The run is seeded through
/testCaseResultsrather than produced by a real pipeline. The PR shards have no queryable database with known data, and every other DQ spec seeds results this way. The evaluation itself is covered by the ingestion unit tests (test_row_threshold.py,test_failure_thresholds.py, …).Type of change:
High-level design:
N/A — test-only change.
Tests:
Use cases covered
PERCENTAGE) threshold saved from the form turns the same failing rows into a passing run. The run details show the threshold beside the failed share and the evaluated rows.Unit tests
Not applicable (test-only change).
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
openmetadata-ui/.../ui/playwright/for UI changes.playwright/e2e/Features/DataQuality/FailureThreshold.spec.ts(covered by theFeatures/DataQuality/**impact-map glob).Ran locally:
npx playwright test playwright/e2e/Features/DataQuality/FailureThreshold.spec.ts --project=chromium --retries=0→ 2 passed. The server was a local OSS build containing all DQ Threshold commits (W1.3, W3.1, W3.2).RED check: changing the relative run's expected threshold to
5 row(s)fails withReceived: "5% of rows".yarn lint:playwright: 0 errors, and no warnings on the new file.Manual testing performed
Ran the spec as above against a local server.
UI screen recording:
Not applicable — test-only change, no UI behavior changes.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.🤖 Generated with Claude Code