Align incident status tests with test-case status API#27754
Open
shah-harshit wants to merge 2 commits into1.13from
Open
Align incident status tests with test-case status API#27754shah-harshit wants to merge 2 commits into1.13from
shah-harshit wants to merge 2 commits into1.13from
Conversation
… API Update InlineTestCaseIncidentStatus test expectations and mocks to validate the new test-case resolution status payload flow instead of legacy incident transition/task APIs. Made-with: Cursor
Contributor
Code Review ✅ ApprovedAligns incident status tests with the test-case status API, ensuring consistency in status reporting. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
Contributor
🔴 Playwright Results — 1 failure(s), 24 flaky✅ 3675 passed · ❌ 1 failed · 🟡 24 flaky · ⏭️ 84 skipped
Genuine Failures (failed on all attempts)❌
|
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.



Summary
InlineTestCaseIncidentStatusunit tests to usepostTestCaseIncidentStatusinstead of legacy incident transition/task APIstestCaseResolutionStatusTypeand details payloadsRelated issue
Closes https://github.com/open-metadata/openmetadata-collate/issues/3837
Test plan
yarn test InlineTestCaseIncidentStatus.test.tsx --no-cacheMade with Cursor