Fix.the.tests.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
e35c9d5bbf
commit
7486338efa
3 changed files with 18 additions and 43 deletions
|
@ -122,8 +122,8 @@ module.exports = class RiotSession {
|
|||
await input.type(text);
|
||||
}
|
||||
|
||||
query(selector, timeout = DEFAULT_TIMEOUT) {
|
||||
return this.page.waitForSelector(selector, {visible: true, timeout});
|
||||
query(selector, timeout = DEFAULT_TIMEOUT, hidden = false) {
|
||||
return this.page.waitForSelector(selector, {visible: true, timeout, hidden});
|
||||
}
|
||||
|
||||
async queryAll(selector) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue