mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* Remove cypress and its dependencies from root dir * Install cypress to cypress-tests directory * Move cypress specs and utils * Remove older files * Fix package.json
21 lines
604 B
JavaScript
21 lines
604 B
JavaScript
const { defineConfig } = require("cypress");
|
|
|
|
module.exports = defineConfig({
|
|
execTimeout: 1800000,
|
|
defaultCommandTimeout: 30000,
|
|
requestTimeout: 10000,
|
|
pageLoadTimeout: 20000,
|
|
responseTimeout: 10000,
|
|
viewportWidth: 1200,
|
|
viewportHeight: 960,
|
|
chromeWebSecurity: true,
|
|
e2e: {
|
|
// We've imported your old cypress plugins here.
|
|
// You may want to clean this up later by importing these.
|
|
setupNodeEvents(on, config) {
|
|
return require("./cypress/plugins/index.js")(on, config);
|
|
},
|
|
baseUrl: "http://localhost:8082",
|
|
specPattern: "cypress/e2e/**/*.cy.js",
|
|
},
|
|
});
|