diff --git a/e2e-tests/development-runtime/cypress.json b/e2e-tests/development-runtime/cypress.json index da70aff9ad3ca..0d1d1077b6539 100644 --- a/e2e-tests/development-runtime/cypress.json +++ b/e2e-tests/development-runtime/cypress.json @@ -2,5 +2,5 @@ "baseUrl": "http://localhost:8000", "failOnStatusCode": false, "chromeWebSecurity": false, - "defaultCommandTimeout": 10000 + "defaultCommandTimeout": 30000 } diff --git a/packages/gatsby-cypress/src/commands.js b/packages/gatsby-cypress/src/commands.js index cefe920081b02..ad3fa699bd205 100644 --- a/packages/gatsby-cypress/src/commands.js +++ b/packages/gatsby-cypress/src/commands.js @@ -6,7 +6,7 @@ Cypress.Commands.add(`getTestElement`, (selector, options = {}) => cy.get(`[data-testid="${selector}"]`, options) ) -const TIMEOUT = 10000 +const TIMEOUT = 30000 Cypress.Commands.add( `waitForAPI`,