Skip to content

Commit a696f6c

Browse files
[Functional Tests] Increase waitTime for timelion to fetch the results (#73255)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent 7b29ecf commit a696f6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/page_objects/timelion_page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function TimelionPageProvider({ getService, getPageObjects }: FtrProvider
4747
public async updateExpression(updates: string) {
4848
const input = await testSubjects.find('timelionExpressionTextArea');
4949
await input.type(updates);
50-
await PageObjects.common.sleep(500);
50+
await PageObjects.common.sleep(1000);
5151
}
5252

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

63-
public async clickSuggestion(suggestionIndex = 0, waitTime = 500) {
63+
public async clickSuggestion(suggestionIndex = 0, waitTime = 1000) {
6464
const elements = await testSubjects.findAll('timelionSuggestionListItem');
6565
if (suggestionIndex > elements.length) {
6666
throw new Error(

0 commit comments

Comments
 (0)