Skip to content

Commit

Permalink
chore(cypress): update default timeout to 60 secs
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Jul 2, 2024
1 parent f158015 commit 53004f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress.CI.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
e2e: {
baseUrl: "http://localhost:5173",
video: true,
defaultCommandTimeout: 30000,
defaultCommandTimeout: 60000,
setupNodeEvents(on, config) {
on(
"after:spec",
Expand Down
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
e2e: {
baseUrl: "http://localhost:5173",
video: true,
defaultCommandTimeout: 30000,
defaultCommandTimeout: 60000,
setupNodeEvents(on, config) {
on(
"after:spec",
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/PageObjects/ChatsMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class ChatsMainPage extends MainPage {
}

get addSomeone() {
return cy.get(".add-someone", { timeout: 30000 });
return cy.get(".add-someone");
}

get buttonAddFriends() {
Expand Down

0 comments on commit 53004f2

Please sign in to comment.