From 2d11fa88ef4eccccda98c3904d40e8b76bb6a2b3 Mon Sep 17 00:00:00 2001 From: mike10ca Date: Thu, 5 Oct 2023 10:33:44 +0200 Subject: [PATCH] Increase default timeout --- cypress.config.js | 1 + cypress/e2e/pages/create_wallet.pages.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress.config.js b/cypress.config.js index 46addc396e..753ec36daa 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -13,6 +13,7 @@ export default defineConfig({ baseUrl: 'http://localhost:3000', testIsolation: false, hideXHR: true, + defaultCommandTimeout: 10000, }, chromeWebSecurity: false, diff --git a/cypress/e2e/pages/create_wallet.pages.js b/cypress/e2e/pages/create_wallet.pages.js index c2ee910192..5ce8feb8f4 100644 --- a/cypress/e2e/pages/create_wallet.pages.js +++ b/cypress/e2e/pages/create_wallet.pages.js @@ -19,7 +19,7 @@ export function typeWalletName(name) { } export function selectNetwork(network, regex = false) { - cy.get(selectNetworkBtn).click() + cy.get(selectNetworkBtn).click({ force: true }) cy.get('li').contains(network).click() if (regex) {