mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-06 13:01:22 +02:00
Remove rebrand toast from tests
This commit is contained in:
parent
1a68d2bb7c
commit
2e76e19f37
@ -24,12 +24,6 @@ module.exports = async function toastScenarios(alice, bob) {
|
|||||||
await rejectToast(alice, "Notifications");
|
await rejectToast(alice, "Notifications");
|
||||||
alice.log.done();
|
alice.log.done();
|
||||||
|
|
||||||
alice.log.step(`accepts rebrand toast`);
|
|
||||||
await acceptToast(alice, "Riot is now Element!");
|
|
||||||
let doneButton = await alice.query('.mx_Dialog_primary');
|
|
||||||
await doneButton.click(); // also accept the resulting dialog
|
|
||||||
alice.log.done();
|
|
||||||
|
|
||||||
alice.log.step(`accepts analytics toast`);
|
alice.log.step(`accepts analytics toast`);
|
||||||
await acceptToast(alice, "Help us improve Element");
|
await acceptToast(alice, "Help us improve Element");
|
||||||
alice.log.done();
|
alice.log.done();
|
||||||
@ -44,12 +38,6 @@ module.exports = async function toastScenarios(alice, bob) {
|
|||||||
await rejectToast(bob, "Notifications");
|
await rejectToast(bob, "Notifications");
|
||||||
bob.log.done();
|
bob.log.done();
|
||||||
|
|
||||||
bob.log.step(`accepts rebrand toast`);
|
|
||||||
await acceptToast(bob, "Riot is now Element!");
|
|
||||||
doneButton = await bob.query('.mx_Dialog_primary');
|
|
||||||
await doneButton.click(); // also accept the resulting dialog
|
|
||||||
bob.log.done();
|
|
||||||
|
|
||||||
bob.log.step(`reject analytics toast`);
|
bob.log.step(`reject analytics toast`);
|
||||||
await rejectToast(bob, "Help us improve Element");
|
await rejectToast(bob, "Help us improve Element");
|
||||||
bob.log.done();
|
bob.log.done();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user