From edd16d3e560aca2b7d243ea9bfa5438d79f1f6b4 Mon Sep 17 00:00:00 2001 From: Niraj Patel Date: Fri, 1 Sep 2023 12:43:37 -0700 Subject: [PATCH] Increased time out in cy exec command --- e2e/cypress/support/util-commands.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/cypress/support/util-commands.ts b/e2e/cypress/support/util-commands.ts index 963055675..adc305382 100644 --- a/e2e/cypress/support/util-commands.ts +++ b/e2e/cypress/support/util-commands.ts @@ -136,7 +136,8 @@ Cypress.Commands.add('updateJsonValue', (filePath: string, jsonPath: string, new }) Cypress.Commands.add('executeCliCommand', (command: string) => { - cy.exec(command, { timeout: 6000, failOnNonZeroExit: false }).then((response) => { + cy.exec(command, { timeout: 9000, failOnNonZeroExit: false }).then((response) => { + cy.wait(3000) return response }); })