-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Synthetics] Test useMonitorStatusData
hook
#195438
[Synthetics] Test useMonitorStatusData
hook
#195438
Conversation
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
7b47cb7
to
386d2d9
Compare
💛 Build succeeded, but was flaky
Failed CI StepsTest FailuresMetrics [docs]Async chunks
History
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11369772699 |
## Summary Recently we had some issues related to module-level logic errors in a fairly complicated hook. This PR adds a new jest suite for the hook in question that covers some baseline usage. It could be improved in the future with additional test cases. (cherry picked from commit 4605cc0)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
… (#196575) # Backport This will backport the following commits from `main` to `8.x`: - [[Synthetics] Test `useMonitorStatusData` hook (#195438)](#195438) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Justin Kambic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-16T16:21:48Z","message":"[Synthetics] Test `useMonitorStatusData` hook (#195438)\n\n## Summary\r\n\r\nRecently we had some issues related to module-level logic errors in a\r\nfairly complicated hook.\r\n\r\nThis PR adds a new jest suite for the hook in question that covers some\r\nbaseline usage. It could be improved in the future with additional test\r\ncases.","sha":"4605cc03074aad77dba7b7ceadd691fc80f9cc58","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.17.0"],"title":"[Synthetics] Test `useMonitorStatusData` hook","number":195438,"url":"https://github.com/elastic/kibana/pull/195438","mergeCommit":{"message":"[Synthetics] Test `useMonitorStatusData` hook (#195438)\n\n## Summary\r\n\r\nRecently we had some issues related to module-level logic errors in a\r\nfairly complicated hook.\r\n\r\nThis PR adds a new jest suite for the hook in question that covers some\r\nbaseline usage. It could be improved in the future with additional test\r\ncases.","sha":"4605cc03074aad77dba7b7ceadd691fc80f9cc58"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195438","number":195438,"mergeCommit":{"message":"[Synthetics] Test `useMonitorStatusData` hook (#195438)\n\n## Summary\r\n\r\nRecently we had some issues related to module-level logic errors in a\r\nfairly complicated hook.\r\n\r\nThis PR adds a new jest suite for the hook in question that covers some\r\nbaseline usage. It could be improved in the future with additional test\r\ncases.","sha":"4605cc03074aad77dba7b7ceadd691fc80f9cc58"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Justin Kambic <[email protected]>
## Summary Recently we had some issues related to module-level logic errors in a fairly complicated hook. This PR adds a new jest suite for the hook in question that covers some baseline usage. It could be improved in the future with additional test cases.
Summary
Recently we had some issues related to module-level logic errors in a fairly complicated hook.
This PR adds a new jest suite for the hook in question that covers some baseline usage. It could be improved in the future with additional test cases.