Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase assertion timeout #103

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/e2e/admin.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('KOMOJU for WooCommerce: Admin', () => {
cy.visit('/wp-admin/admin.php?page=wc-settings&tab=komoju_settings&section=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();
Expand Down
Loading