diff --git a/tests/cypress.config.js b/tests/cypress.config.js index b4d301b..d167cc0 100644 --- a/tests/cypress.config.js +++ b/tests/cypress.config.js @@ -10,7 +10,9 @@ module.exports = defineConfig({ return require('./cypress/plugins/index.js')(on, config) }, baseUrl: 'http://localhost:8000', - defaultCommandTimeout: 6000 + defaultCommandTimeout: 6000, + // default pageLoadTimeout is 60000ms + pageLoadTimeout: 120000, }, retries: { runMode: 2, diff --git a/tests/cypress/e2e/admin.cy.js b/tests/cypress/e2e/admin.cy.js index a55f2b3..a74c895 100644 --- a/tests/cypress/e2e/admin.cy.js +++ b/tests/cypress/e2e/admin.cy.js @@ -32,7 +32,7 @@ describe('KOMOJU for WooCommerce: Admin', () => { cy.visit('/wp-admin/admin.php?page=wc-settings&tab=komoju_settings§ion=api_settings'); cy.get('.komoju-endpoint-komoju_woocommerce_api_endpoint').contains('Edit').click(); - cy.get('#komoju_woocommerce_api_endpoint').type('{selectAll}https://requestbin.labs.degica.com'); + cy.get('#komoju_woocommerce_api_endpoint').type('{selectAll}https://example.com'); cy.contains('Save changes').click(); cy.contains('Payment methods').click();