spiff-arena/spiffworkflow-frontend/cypress.config.js

19 lines
549 B
JavaScript

/* eslint-disable */
const { defineConfig } = require('cypress');
module.exports = defineConfig({
projectId: 'crax1q',
chromeWebSecurity: false,
e2e: {
baseUrl: 'http://localhost:7001',
setupNodeEvents(_on, _config) {
// implement node event listeners here
},
},
// this scrolls away from the elements for some reason with carbon when set to top
// https://github.com/cypress-io/cypress/issues/2353
// https://docs.cypress.io/guides/core-concepts/interacting-with-elements#Scrolling
scrollBehavior: "center",
});