You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Test if members joining while user is offline are received after returning online with LL enabled
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user