You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
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