mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Tests] Revert Timeout to Default 1s (#16359)
This should hopefully speed up Selenium tests again.
This commit is contained in:
parent
7554b54771
commit
4a04fd6613
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export function TestSubjectsProvider({ getService }) {
|
|||
const defaultFindTimeout = config.get('timeouts.find');
|
||||
|
||||
class TestSubjects {
|
||||
async exists(selector, timeout = defaultFindTimeout) {
|
||||
async exists(selector, timeout = 1000) {
|
||||
log.debug(`TestSubjects.exists(${selector})`);
|
||||
return await find.existsByDisplayedByCssSelector(testSubjSelector(selector), timeout);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue