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/e2e/event.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cypress/e2e') diff --git a/cypress/e2e/event.cy.ts b/cypress/e2e/event.cy.ts index 270ca0a..46e35fb 100644 --- a/cypress/e2e/event.cy.ts +++ b/cypress/e2e/event.cy.ts @@ -61,7 +61,7 @@ describe("Events", () => { cy.get("#newEventFormSubmit").click(); // Wait for the new page to load - cy.url().should("not.include", "/new"); + cy.url({ timeout: 10000 }).should("not.include", "/new"); // Get the new event ID from the URL cy.url().then((url) => { -- cgit v1.2.3