Cloudlog/cypress.config.js
Peter Goodhall ca5df78114 Increase Cypress timeouts and add waitForSelectOptions command
Raised default and request timeouts to 60 seconds in Cypress config to improve test reliability. Added a custom 'waitForSelectOptions' command to ensure select elements are populated before interacting, and updated station location test to use this command.
2025-07-17 17:03:41 +01:00

13 行
369 B
JavaScript

const { defineConfig } = require("cypress");
module.exports = defineConfig({
projectId: 'gm8wco',
e2e: {
baseUrl: "http://localhost/",
defaultCommandTimeout: 60000, // Increase default timeout to 60 seconds
requestTimeout: 60000, // Increase request timeout to 60 seconds
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});