From 53004f279901e1aa65d31e7d3a539e202e328649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Carden=CC=83a?= <35935591+luisecm@users.noreply.github.com> Date: Mon, 1 Jul 2024 23:30:00 -0600 Subject: [PATCH] chore(cypress): update default timeout to 60 secs --- cypress.CI.config.ts | 2 +- cypress.config.ts | 2 +- cypress/e2e/PageObjects/ChatsMain.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress.CI.config.ts b/cypress.CI.config.ts index f5d3b6a0..ca5eb2c4 100644 --- a/cypress.CI.config.ts +++ b/cypress.CI.config.ts @@ -5,7 +5,7 @@ export default defineConfig({ e2e: { baseUrl: "http://localhost:5173", video: true, - defaultCommandTimeout: 30000, + defaultCommandTimeout: 60000, setupNodeEvents(on, config) { on( "after:spec", diff --git a/cypress.config.ts b/cypress.config.ts index 8f27bd84..74157218 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -5,7 +5,7 @@ export default defineConfig({ e2e: { baseUrl: "http://localhost:5173", video: true, - defaultCommandTimeout: 30000, + defaultCommandTimeout: 60000, setupNodeEvents(on, config) { on( "after:spec", diff --git a/cypress/e2e/PageObjects/ChatsMain.ts b/cypress/e2e/PageObjects/ChatsMain.ts index 082485a7..7f1e4844 100644 --- a/cypress/e2e/PageObjects/ChatsMain.ts +++ b/cypress/e2e/PageObjects/ChatsMain.ts @@ -6,7 +6,7 @@ class ChatsMainPage extends MainPage { } get addSomeone() { - return cy.get(".add-someone", { timeout: 30000 }); + return cy.get(".add-someone"); } get buttonAddFriends() {