diff options
| -rw-r--r-- | cypress/e2e/event.cy.ts | 2 | ||||
| -rw-r--r-- | cypress/support/commands.ts | 2 | 
2 files changed, 2 insertions, 2 deletions
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) => { 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) => {  | 
