split up scenarios in multiple files as lazy-loading scenarios grow

This commit is contained in:
Bruno Windels 2018-09-13 10:31:15 +02:00
parent 5ec8f6f9b4
commit 1725e7524b
7 changed files with 164 additions and 95 deletions

View file

@ -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);