Skip to content

Commit

Permalink
Char by char to set indexpattern to give more time to load the time f…
Browse files Browse the repository at this point in the history
…ield
  • Loading branch information
stratoula committed Aug 11, 2020
1 parent d7d6d5f commit f148da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/apps/visualize/_tsvb_chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await retry.tryForTime(20000, async () => {
await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
await PageObjects.visualBuilder.setIndexPatternValue('kibana_sample_data_flights');
await PageObjects.common.sleep(2500);
await PageObjects.common.sleep(2000);
await PageObjects.visualBuilder.selectIndexPatternTimeField('timestamp');
});
const newValue = await PageObjects.visualBuilder.getMetricValue();
Expand Down
2 changes: 1 addition & 1 deletion test/functional/page_objects/visual_builder_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export function VisualBuilderPageProvider({ getService, getPageObjects }: FtrPro
public async setIndexPatternValue(value: string) {
const el = await testSubjects.find('metricsIndexPatternInput');
await el.clearValue();
await el.type(value);
await el.type(value, { charByChar: true });
await PageObjects.header.waitUntilLoadingHasFinished();
}

Expand Down

0 comments on commit f148da2

Please sign in to comment.