1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 01:30:52 +02:00
beerbrawl/e2e/cypress.config.js
Christoph Heiss dee74f7556
chore(#41): make prettier config global to re-use it for e2e tests
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-11 12:39:12 +02:00

20 lines
546 B
JavaScript

const { defineConfig } = require('cypress');
module.exports = defineConfig({
reporter: 'cypress-multi-reporters',
reporterOptions: {
configFile: 'cypress/reporter-config.json',
},
watchForFileChanges: false,
viewportWidth: 1920,
viewportHeight: 1080,
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:4200/',
},
});