Fix tests flakiness in embed (#7468)
This commit is contained in:
1 parent
aca0dc1b01
commit
1cdb51f424
1 file changed
+2
-1
@@ -56,7 +56,8 @@ export const getEmbedIframe = async ({ page, pathname }: { page: Page; pathname:
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
resolve(false);
|
resolve(false);
|
||||||
}, 5000);
|
// This is the time embed-iframe.ts loads in the iframe and fires atleast one event. Also, it is a load of entire React Application so it can sometime take more time even on CI.
|
||||||
|
}, 15000);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (!iframeReady) {
|
if (!iframeReady) {
|
||||||
|
|||||||
Reference in new issue
Block a user