mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
more loggin'
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
37c875b863
commit
faaca43a75
@ -20,18 +20,32 @@ module.exports = async function toastScenarios(alice, bob) {
|
||||
console.log(" checking and clearing toasts:");
|
||||
|
||||
alice.log.startGroup(`clears toasts`);
|
||||
|
||||
alice.log.step(`accepts desktop notifications toast`);
|
||||
await acceptToast(alice, "Notifications");
|
||||
alice.log.done();
|
||||
|
||||
alice.log.step(`accepts analytics toast`);
|
||||
await acceptToast(alice, "Help us improve Riot");
|
||||
alice.log.done();
|
||||
|
||||
alice.log.step(`checks no remaining toasts`);
|
||||
await assertNoToasts(alice);
|
||||
alice.log.done();
|
||||
alice.log.endGroup();
|
||||
|
||||
bob.log.startGroup(`clears toasts`);
|
||||
alice.log.step(`reject desktop notifications toast`);
|
||||
|
||||
bob.log.step(`reject desktop notifications toast`);
|
||||
await rejectToast(bob, "Notifications");
|
||||
alice.log.step(`reject analytics toast`);
|
||||
bob.log.done();
|
||||
|
||||
bob.log.step(`reject analytics toast`);
|
||||
await rejectToast(bob, "Help us improve Riot");
|
||||
bob.log.done();
|
||||
|
||||
bob.log.step(`checks no remaining toasts`);
|
||||
await assertNoToasts(bob);
|
||||
bob.log.done();
|
||||
bob.log.endGroup();
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user