akashop/volumes/wp/wp-content/plugins/templates-patterns-collection/e2e-tests/cypress.config.ts

20 lines
508 B
TypeScript
Raw Normal View History

2024-03-20 07:48:21 +00:00
import { defineConfig } from 'cypress';
export default defineConfig({
projectId: 'od347f',
viewportWidth: 1920,
viewportHeight: 1080,
retries: 1,
screenshotsFolder: 'visual-regression/screenshots',
numTestsKeptInMemory: 0,
watchForFileChanges: false,
experimentalStudio: true,
e2e: {
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config);
},
baseUrl: 'http://localhost:8080',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
});