[Functional Tests] Increase waitTime for timelion to fetch the results (#73255)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
7b29ecf0b5
commit
a696f6c79b
|
@ -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() {
|
||||
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue