Files
EagleCast/frontend/cypress.config.js
h202-wq 66d9a033c9
publish-github-pages / deploy (push) Waiting to run
EagleCast
2026-07-09 10:03:32 -04:00

27 lines
973 B
JavaScript
Vendored

const { defineConfig } = require('cypress');
module.exports = defineConfig({
env: {
apiUrl: 'http://localhost:9000',
serverInitCmd:
'pkill -9 eaglecast; cd ../ && EAGLECAST_ADMIN_USER=admin EAGLECAST_ADMIN_PASSWORD=eaglecast ./eaglecast --install --yes && setsid ./eaglecast </dev/null >/dev/null 2>&1 &',
serverInitBlankCmd:
'pkill -9 eaglecast; cd ../ && ./eaglecast --install --yes && setsid ./eaglecast </dev/null >/dev/null 2>&1 &',
EAGLECAST_ADMIN_USER: 'admin',
EAGLECAST_ADMIN_PASSWORD: 'eaglecast',
},
viewportWidth: 1400,
viewportHeight: 950,
e2e: {
experimentalRunAllSpecs: true,
testIsolation: false,
experimentalSessionAndOrigin: false,
// 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:9000',
},
});