From f2758d9af091b92be848c256408cddea01393b54 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Tue, 10 Oct 2023 17:34:50 +0100 Subject: Increase URL timeout to reduce Cypress flakiness --- cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cypress/support') 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) => { -- cgit v1.2.3