Test if members joining while user is offline are received after returning online with LL enabled
This commit is contained in:
parent
6deb595fec
commit
16b2f09915
3 changed files with 33 additions and 5 deletions
|
@ -173,6 +173,13 @@ module.exports = class RiotSession {
|
|||
return delay(ms);
|
||||
}
|
||||
|
||||
async setOffline(enabled) {
|
||||
const description = enabled ? "offline" : "back online";
|
||||
this.log.step(`goes ${description}`);
|
||||
await this.page.setOfflineMode(enabled);
|
||||
this.log.done();
|
||||
}
|
||||
|
||||
close() {
|
||||
return this.browser.close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue