mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 03:11:02 +02:00
increase dialog timeout a bit
This commit is contained in:
parent
b01e126433
commit
f489f55fd7
@ -32,7 +32,7 @@ async function acceptDialog(session, expectedTitle) {
|
|||||||
async function acceptDialogMaybe(session, expectedTitle) {
|
async function acceptDialogMaybe(session, expectedTitle) {
|
||||||
let primaryButton = null;
|
let primaryButton = null;
|
||||||
try {
|
try {
|
||||||
primaryButton = await session.waitAndQuery(".mx_Dialog .mx_Dialog_primary", 50);
|
primaryButton = await session.waitAndQuery(".mx_Dialog .mx_Dialog_primary", 100);
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user