Test workflow again

This commit is contained in:
00Fjongl 2024-08-08 23:43:38 -05:00
parent 6c41c5be41
commit ecfa6cc0da

View file

@ -275,9 +275,12 @@ xx xx
resolve();
});
});
const timeout = new Promise((resolve) => {
setTimeout(resolve, 10000, false);
});
exampleIFrame.src = url;
exampleIFrame.style.display = 'none';
await waitForDocument;
await Promise.race([waitForDocument, timeout]);
return result;
};