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.
[Maps] unskip X-Pack Saved Object Tagging Functional Tests.x-pack/tes…
…t/saved_object_tagging/functional/tests/maps_integration·ts - saved objects tagging (elastic#149356) Fixes elastic#89073 and elastic#106547 Flaky test runner https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1785 Issue with flaky maps_integration.ts is that there was not await when filtering maps list by tags. This resulted in list page refreshing after `const links = await this.find.allByCssSelector('.euiTableRow-isSelectable .euiLink');` and then getting an elemented unmounted on future `await links[i].getVisibleText()` calls. A [similar fix](elastic#82930) was implemented for visualize and dashboard listing pages. elastic#82930 introduced `listingTable.waitUntilTableIsLoaded` but did not introduce the method in a consistent way. Other methods that search table were not updated to use `listingTable.waitUntilTableIsLoaded`, but instead used `this.header.waitUntilLoadingHasFinished()`. This PR resolved this issue by updating all listingTable methods that search to use `listingTable.waitUntilTableIsLoaded` and then updated `listingTable.waitUntilTableIsLoaded` with a call to `this.header.waitUntilLoadingHasFinished()` elastic#82930 did not update maps_integration tests, only resolving the issue for visualize and dashboard. To avoid future situations where fixes only resolve a few usages, this PR moves selectFilterTags into listing_table and replaces all implementations of selectFilterTags with listingTable.selectFilterTags. While investigating dashboard_integrations test, I found `x-pack/test/functional/apps/dashboard/group2/dashboard_tagging.ts`, which duplicated most of dashboard_integrations test. This PR removes x-pack/test/functional/apps/dashboard/group2/dashboard_tagging.ts adds the unique test case to dashboard_integrations Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
603ab24
commit 21b3d37
Showing
7 changed files
with
75 additions
and
203 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
102 changes: 0 additions & 102 deletions
102
x-pack/test/functional/apps/dashboard/group2/dashboard_tagging.ts
This file was deleted.
Oops, something went wrong.
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
9 changes: 0 additions & 9 deletions
9
x-pack/test/saved_object_tagging/functional/tests/constants.ts
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.