diff --git a/test/functional/services/filter_bar.ts b/test/functional/services/filter_bar.ts index b781b56251721..42e96fe6b96c2 100644 --- a/test/functional/services/filter_bar.ts +++ b/test/functional/services/filter_bar.ts @@ -113,7 +113,12 @@ export class FilterBarService extends FtrService { return Promise.all(filters.map((filter) => filter.getVisibleText())); } - public async addFilterAndSelectDataView(dataViewTitle: string | null, field: string, operator: string, ...values: any): Promise { + public async addFilterAndSelectDataView( + dataViewTitle: string | null, + field: string, + operator: string, + ...values: any + ): Promise { await this.retry.tryForTime(this.defaultTryTimeout * 2, async () => { await this.testSubjects.click('addFilter'); await this.testSubjects.existOrFail('addFilterPopover'); diff --git a/x-pack/test/functional/apps/maps/group2/embeddable/dashboard.js b/x-pack/test/functional/apps/maps/group2/embeddable/dashboard.js index 1e42d669896b0..e0d9e01240a4a 100644 --- a/x-pack/test/functional/apps/maps/group2/embeddable/dashboard.js +++ b/x-pack/test/functional/apps/maps/group2/embeddable/dashboard.js @@ -102,7 +102,12 @@ export default function ({ getPageObjects, getService }) { await filterBar.addFilterAndSelectDataView('logstash-*', 'machine.os', 'is', 'win 8'); await PageObjects.maps.waitForLayersToLoad(); - await filterBar.addFilterAndSelectDataView('meta_for_geo_shapes*', 'shape_name', 'is', 'alpha'); + await filterBar.addFilterAndSelectDataView( + 'meta_for_geo_shapes*', + 'shape_name', + 'is', + 'alpha' + ); await PageObjects.maps.waitForLayersToLoad(); const { rawResponse: gridResponse } = await PageObjects.maps.getResponseFromDashboardPanel(