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() {