mirror of https://github.com/vector-im/riot-web
check if it is a race
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
841ce74ac2
commit
627b568588
|
@ -29,6 +29,7 @@ module.exports = async function toastScenarios(alice, bob) {
|
|||
await acceptToast(alice, "Help us improve Riot");
|
||||
alice.log.done();
|
||||
|
||||
await alice.delay(300);
|
||||
alice.log.step(`checks no remaining toasts`);
|
||||
await assertNoToasts(alice);
|
||||
alice.log.done();
|
||||
|
@ -44,6 +45,7 @@ module.exports = async function toastScenarios(alice, bob) {
|
|||
await rejectToast(bob, "Help us improve Riot");
|
||||
bob.log.done();
|
||||
|
||||
await bob.delay(300);
|
||||
bob.log.step(`checks no remaining toasts`);
|
||||
await assertNoToasts(bob);
|
||||
bob.log.done();
|
||||
|
|
Loading…
Reference in New Issue