Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
Browse files Browse the repository at this point in the history
…-ref HEAD~1..HEAD --fix'
  • Loading branch information
kibanamachine committed Sep 21, 2022
1 parent 8be9906 commit 32e73ae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion test/functional/services/filter_bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
public async addFilterAndSelectDataView(
dataViewTitle: string | null,
field: string,
operator: string,
...values: any
): Promise<void> {
await this.retry.tryForTime(this.defaultTryTimeout * 2, async () => {
await this.testSubjects.click('addFilter');
await this.testSubjects.existOrFail('addFilterPopover');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 32e73ae

Please sign in to comment.