wait for rendering before comparing filters (#141573) (#141611)

(cherry picked from commit d8a1331682)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
This commit is contained in:
Kibana Machine 2022-09-23 06:42:35 -06:00 committed by GitHub
parent fa18d6ab40
commit cbc9f8061a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,6 +184,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await retry.try(async function tryingForTime() {
// click first metric bucket
await PageObjects.visEditor.clickMetricByIndex(0);
await PageObjects.visChart.waitForVisualizationRenderingStabilized();
filterCount = await filterBar.getFilterCount();
});
await filterBar.removeAllFilters();