Functional tests - adjust userMenu timeout (#119607) (#119721)

This PR stabilizes the login during functional tests by adjusting the timeout for the opened user menu.

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
This commit is contained in:
Kibana Machine 2021-11-25 07:52:18 -05:00 committed by GitHub
parent 3ebb780e52
commit 7323bfe4c7
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 });
});
}
})();