Functional tests - adjust userMenu timeout (#119607)

This PR stabilizes the login during functional tests by adjusting the timeout for the opened user menu.
This commit is contained in:
Robert Oskamp 2021-11-25 12:33:35 +01:00 committed by GitHub
parent b0b1efd75d
commit 37b9fce076
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ export function UserMenuProvider({ getService }) {
await retry.try(async () => {
await testSubjects.click('userMenuButton');
await testSubjects.existOrFail('userMenu');
await testSubjects.existOrFail('userMenu', { timeout: 2500 });
});
}
})();