Skip to content

Commit

Permalink
[Functional Tests] Increase waitTime for timelion to fetch the results (
Browse files Browse the repository at this point in the history
elastic#73255)

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
stratoula and elasticmachine committed Jul 28, 2020
1 parent 6187fa6 commit 2c00b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/page_objects/timelion_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function TimelionPageProvider({ getService, getPageObjects }: FtrProvider
public async updateExpression(updates: string) {
const input = await testSubjects.find('timelionExpressionTextArea');
await input.type(updates);
await PageObjects.common.sleep(500);
await PageObjects.common.sleep(1000);
}

public async getExpression() {
Expand All @@ -60,7 +60,7 @@ export function TimelionPageProvider({ getService, getPageObjects }: FtrProvider
return await Promise.all(elements.map(async (element) => await element.getVisibleText()));
}

public async clickSuggestion(suggestionIndex = 0, waitTime = 500) {
public async clickSuggestion(suggestionIndex = 0, waitTime = 1000) {
const elements = await testSubjects.findAll('timelionSuggestionListItem');
if (suggestionIndex > elements.length) {
throw new Error(
Expand Down

0 comments on commit 2c00b6c

Please sign in to comment.