split up scenarios in multiple files as lazy-loading scenarios grow
This commit is contained in:
parent
5ec8f6f9b4
commit
1725e7524b
7 changed files with 164 additions and 95 deletions
|
@ -124,7 +124,7 @@ module.exports = class RiotSession {
|
|||
return await this.queryAll(selector);
|
||||
}
|
||||
|
||||
waitForReload(timeout = 5000) {
|
||||
waitForReload(timeout = 10000) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const timeoutHandle = setTimeout(() => {
|
||||
this.browser.removeEventListener('domcontentloaded', callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue