Scheduling infrastructure for absolutely everyone.
Fix tests flakiness in embed (#7468)
Hariom Balhara1cdb51f42428
diff --git a/packages/embeds/embed-core/playwright/lib/testUtils.ts b/packages/embeds/embed-core/playwright/lib/testUtils.tsindex 7e991d4c381..fb43ccde309 100644--- a/packages/embeds/embed-core/playwright/lib/testUtils.ts+++ b/packages/embeds/embed-core/playwright/lib/testUtils.ts@@ -56,7 +56,8 @@ export const getEmbedIframe = async ({ page, pathname }: { page: Page; pathname:setTimeout(() => {clearInterval(interval);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) {