summaryrefslogtreecommitdiff
path: root/cypress/support/commands.ts
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2023-10-10 17:34:50 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2023-10-10 17:34:50 +0100
commitf2758d9af091b92be848c256408cddea01393b54 (patch)
tree9f5c215a2183d2835ecd5acdc42807dbe060b014 /cypress/support/commands.ts
parent61a0c53b7b82bc875c855358df2c81c91e7e5a94 (diff)
Increase URL timeout to reduce Cypress flakiness
Diffstat (limited to 'cypress/support/commands.ts')
-rw-r--r--cypress/support/commands.ts2
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) => {