-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ResponseOps][Rules] Fix flaky rule details page tests (#183888)
## Summary Prevents the rule details page's lazyly loaded components from re-triggering the fallback state of the top-level `<Suspense>` that was causing a _Flash of Content_, the likely cause of #172941 and #173008. ## Details <details> <summary> Slowed down screen capture of the loading flash </summary> https://github.com/elastic/kibana/assets/18363145/8ab0bd7c-bcef-417f-9930-ef03aeec6e8b </details> My guess is that in the flaky test runs the `Edit` button was pressed just before the component was temporarily removed from the render tree and therefore the flyout couldn't render correctly. ## To verify 1. Create any type of rule from `Stack Management` 2. Navigate to that rule's detail page (`Stack Management` > `Rules` > Click on rule in list) 3. Verify that the page header only loads once without going back to the loading indicator (throttling the network from the DevTools or capturing the screen and playing back the video slowed down might help). Fixes #172941 Fixes #173008
- Loading branch information
1 parent
ce0f087
commit e7e0c86
Showing
3 changed files
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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