increase dialog timeout a bit
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user