From 84a35fc049143bac99502563cdc730f7ac18983d Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 29 Sep 2022 14:49:59 +0530 Subject: [PATCH] test(CY): increase intercept message wait during excel download test Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../integration/common/7a_create_project_from_excel.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/cypress/integration/common/7a_create_project_from_excel.js b/scripts/cypress/integration/common/7a_create_project_from_excel.js index b17a8035d6..213f452532 100644 --- a/scripts/cypress/integration/common/7a_create_project_from_excel.js +++ b/scripts/cypress/integration/common/7a_create_project_from_excel.js @@ -174,8 +174,9 @@ export const genTest = (apiType, dbType) => { }); cy.getActiveModal().find(".ant-btn-primary").click(); - // wait for page to get loaded (issue observed in CI-CD) - cy.wait("@waitForPageLoad"); + // Wait for page to get loaded (issue observed in CI-CD) + // Timeout set to 30 seconds. Default was 5 seconds. Increased due to delay in completion sometimes in CI-CD + cy.wait("@waitForPageLoad", { timeout: 30000 }); }); it("File Upload: Verify loaded data", () => {