mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
encryption dialogs dont always appear coming back from settings... weird
This commit is contained in:
parent
6be5975050
commit
a65d6af8c5
@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const {acceptDialog} = require('./tests/dialog');
|
const {acceptDialogMaybe} = require('./tests/dialog');
|
||||||
const signup = require('./tests/signup');
|
const signup = require('./tests/signup');
|
||||||
const join = require('./tests/join');
|
const join = require('./tests/join');
|
||||||
const sendMessage = require('./tests/send-message');
|
const sendMessage = require('./tests/send-message');
|
||||||
@ -68,12 +68,12 @@ async function createE2ERoomAndTalk(alice, bob) {
|
|||||||
// wait some time for the encryption warning dialog
|
// wait some time for the encryption warning dialog
|
||||||
// to appear after closing the settings
|
// to appear after closing the settings
|
||||||
await bob.delay(1000);
|
await bob.delay(1000);
|
||||||
await acceptDialog(bob, "encryption");
|
await acceptDialogMaybe(bob, "encryption");
|
||||||
const aliceDevice = await getE2EDeviceFromSettings(alice);
|
const aliceDevice = await getE2EDeviceFromSettings(alice);
|
||||||
// wait some time for the encryption warning dialog
|
// wait some time for the encryption warning dialog
|
||||||
// to appear after closing the settings
|
// to appear after closing the settings
|
||||||
await alice.delay(1000);
|
await alice.delay(1000);
|
||||||
await acceptDialog(alice, "encryption");
|
await acceptDialogMaybe(alice, "encryption");
|
||||||
await verifyDeviceForUser(bob, "alice", aliceDevice);
|
await verifyDeviceForUser(bob, "alice", aliceDevice);
|
||||||
await verifyDeviceForUser(alice, "bob", bobDevice);
|
await verifyDeviceForUser(alice, "bob", bobDevice);
|
||||||
const aliceMessage = "Guess what I just heard?!"
|
const aliceMessage = "Guess what I just heard?!"
|
||||||
|
Loading…
Reference in New Issue
Block a user