Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…201319) # Backport This will backport the following commits from `main` to `8.x`: - [[Index Management FTR] Improve delete indices test (#200941)](#200941) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Elena Stoeva","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T08:46:09Z","message":"[Index Management FTR] Improve delete indices test (#200941)\n\nCloses https://github.com/elastic/kibana/issues/192351\r\nCloses https://github.com/elastic/kibana/issues/200660\r\nCloses https://github.com/elastic/kibana/issues/193599\r\nCloses https://github.com/elastic/kibana/issues/192532\r\n\r\n\r\n## Summary\r\n\r\nThis PR improves the IM functional test for indices table. In\r\nhttps://github.com//issues/192351, the failure most likely\r\noccurred because the webdriver tried to interact with elements that are\r\nno longer in the DOM - in this case the index rows and table. To avoid\r\nthis, we are adding a try-catch for `StaleElementReferenceError` in the\r\n`expectIndexIsDeleted` test helper. In\r\nhttps://github.com//issues/192351,\r\nhttps://github.com//issues/20066, and\r\nhttps://github.com//issues/193599, the error most likely\r\nwas caused because the check if an index row exists was performed before\r\nthe row element was removed from the DOM, therefore it was incorrectly\r\nfailing. To fix this, we are adding a retry so that the check is retried\r\nin case it fails.","sha":"e48ad46f8adcf680e55facca9987cc1813ec52e1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index Management","Team:Kibana Management","release_note:skip","v9.0.0","backport:prev-minor","v8.17.0","v8.18.0"],"title":"[Index Management FTR] Improve delete indices test","number":200941,"url":"https://github.com/elastic/kibana/pull/200941","mergeCommit":{"message":"[Index Management FTR] Improve delete indices test (#200941)\n\nCloses https://github.com/elastic/kibana/issues/192351\r\nCloses https://github.com/elastic/kibana/issues/200660\r\nCloses https://github.com/elastic/kibana/issues/193599\r\nCloses https://github.com/elastic/kibana/issues/192532\r\n\r\n\r\n## Summary\r\n\r\nThis PR improves the IM functional test for indices table. In\r\nhttps://github.com//issues/192351, the failure most likely\r\noccurred because the webdriver tried to interact with elements that are\r\nno longer in the DOM - in this case the index rows and table. To avoid\r\nthis, we are adding a try-catch for `StaleElementReferenceError` in the\r\n`expectIndexIsDeleted` test helper. In\r\nhttps://github.com//issues/192351,\r\nhttps://github.com//issues/20066, and\r\nhttps://github.com//issues/193599, the error most likely\r\nwas caused because the check if an index row exists was performed before\r\nthe row element was removed from the DOM, therefore it was incorrectly\r\nfailing. To fix this, we are adding a retry so that the check is retried\r\nin case it fails.","sha":"e48ad46f8adcf680e55facca9987cc1813ec52e1"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200941","number":200941,"mergeCommit":{"message":"[Index Management FTR] Improve delete indices test (#200941)\n\nCloses https://github.com/elastic/kibana/issues/192351\r\nCloses https://github.com/elastic/kibana/issues/200660\r\nCloses https://github.com/elastic/kibana/issues/193599\r\nCloses https://github.com/elastic/kibana/issues/192532\r\n\r\n\r\n## Summary\r\n\r\nThis PR improves the IM functional test for indices table. In\r\nhttps://github.com//issues/192351, the failure most likely\r\noccurred because the webdriver tried to interact with elements that are\r\nno longer in the DOM - in this case the index rows and table. To avoid\r\nthis, we are adding a try-catch for `StaleElementReferenceError` in the\r\n`expectIndexIsDeleted` test helper. In\r\nhttps://github.com//issues/192351,\r\nhttps://github.com//issues/20066, and\r\nhttps://github.com//issues/193599, the error most likely\r\nwas caused because the check if an index row exists was performed before\r\nthe row element was removed from the DOM, therefore it was incorrectly\r\nfailing. To fix this, we are adding a retry so that the check is retried\r\nin case it fails.","sha":"e48ad46f8adcf680e55facca9987cc1813ec52e1"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Elena Stoeva <[email protected]>
- Loading branch information