Skip to content

Commit

Permalink
Increased time out in cy exec command
Browse files Browse the repository at this point in the history
  • Loading branch information
nirajCITZ committed Sep 1, 2023
1 parent 352919f commit edd16d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/cypress/support/util-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
})
Expand Down

0 comments on commit edd16d3

Please sign in to comment.