fallback for datacontract status check#27665
fallback for datacontract status check#27665shrabantipaul-collate wants to merge 4 commits intomainfrom
Conversation
…nnotations Co-authored-by: shrabantipaul-collate <253027805+shrabantipaul-collate@users.noreply.github.com>
🔴 Playwright Results — 4 failure(s), 21 flaky✅ 3941 passed · ❌ 4 failed · 🟡 21 flaky · ⏭️ 86 skipped
Genuine Failures (failed on all attempts)❌
|
Code Review
|
| Compact |
|
Was this helpful? React with 👍 / 👎 | Gitar
|



Describe your changes:
DataQuality fallback for quality validation timeout
The test suite executes and has results, but the contract's latestResult is sometimes not propagated back in time, causing waitForDataContractExecution to time out at 10 minutes.
Added waitForContractExecutionWithFallback in playwright/utils/dataContracts.ts: if the contract poll times out, it falls back to the DataQuality → Bundle Suites page, finds the Data Contract - test suite, clicks into it, and verifies the test case statuses directly from the API response — asserting a terminal status (Success/Failed/Aborted) to confirm execution completed.
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
user.responseData.displayNametouser.getUserDisplayName()for consistent user data retrieval.test.setTimeoutfrom 12 minutes to 15 minutes (900_000ms) inDataContracts.spec.tsto accommodate extended execution times.This will update automatically on new commits.