Increase the time needed to locate the save viz toast (#89301) (#89426)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Stratoula Kalafateli 2021-01-27 19:13:28 +02:00 committed by GitHub
parent 27a84d847d
commit 68ae33ccc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -370,7 +370,7 @@ export function CommonPageProvider({ getService, getPageObjects }: FtrProviderCo
}
async closeToast() {
const toast = await find.byCssSelector('.euiToast', 2 * defaultFindTimeout);
const toast = await find.byCssSelector('.euiToast', 6 * defaultFindTimeout);
await toast.moveMouseTo();
const title = await (await find.byCssSelector('.euiToastHeader__title')).getVisibleText();