1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-22 21:20:52 +02:00
beerbrawl/e2e/cypress.config.ci.js
Christoph Heiss 0767923715
chore: ci: add workflow for e2e tests
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-10 00:35:14 +02:00

24 lines
672 B
JavaScript

/* SPDX-License-Identifier: AGPL-3.0-or-later */
const { defineConfig } = require('cypress');
module.exports = defineConfig({
reporter: 'cypress-multi-reporters',
reporterOptions: {
configFile: 'cypress/reporter-config.json',
},
watchForFileChanges: false,
viewportWidth: 1920,
viewportHeight: 1080,
e2e: {
specPattern: 'instrumented/e2e/**/*.cy.{js,jsx,ts,tsx}',
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
require('@cypress/code-coverage/task')(on, config);
return config;
},
baseUrl: 'http://localhost:8080/',
},
});