diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-10 17:34:50 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-10 17:34:50 +0100 |
commit | f2758d9af091b92be848c256408cddea01393b54 (patch) | |
tree | 9f5c215a2183d2835ecd5acdc42807dbe060b014 /cypress/support/commands.ts | |
parent | 61a0c53b7b82bc875c855358df2c81c91e7e5a94 (diff) |
Increase URL timeout to reduce Cypress flakiness
Diffstat (limited to 'cypress/support/commands.ts')
-rw-r--r-- | cypress/support/commands.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 6fc8768..7535103 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -63,7 +63,7 @@ Cypress.Commands.add("createGroup", (groupData) => { cy.get("#newEventGroupForm").submit(); // Wait for the new page to load - cy.url().should("not.include", "/new"); + cy.url({ timeout: 10000 }).should("not.include", "/new"); // Get the new group ID from the URL cy.url().then((url) => { |