forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Index Management FTR] Improve delete indices test (elastic#200941)
Closes elastic#192351 Closes elastic#200660 Closes elastic#193599 Closes elastic#192532 ## Summary This PR improves the IM functional test for indices table. In elastic#192351, the failure most likely occurred because the webdriver tried to interact with elements that are no longer in the DOM - in this case the index rows and table. To avoid this, we are adding a try-catch for `StaleElementReferenceError` in the `expectIndexIsDeleted` test helper. In elastic#192351, elastic#20066, and elastic#193599, the error most likely was caused because the check if an index row exists was performed before the row element was removed from the DOM, therefore it was incorrectly failing. To fix this, we are adding a retry so that the check is retried in case it fails.
- Loading branch information
1 parent
5d55d89
commit 8d7880d
Showing
2 changed files
with
31 additions
and
9 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