check if it is a race
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
841ce74ac2
commit
627b568588
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue