-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcypress.config.js
More file actions
32 lines (27 loc) · 859 Bytes
/
cypress.config.js
File metadata and controls
32 lines (27 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const { defineConfig } = require("cypress");
module.exports = defineConfig({
env: {
do_reset_db: false,
wait_db_reset: 60000,
create_resources: true,
run_extended_k8s_checks: false,
manage_test_data_via_django_endpoint_views: true
},
e2e: {
// switch to serve-dev base url to execute the integration tests on dev
baseUrl: 'http://studio.127.0.0.1.nip.io:8080',
// baseUrl: 'https://serve-dev.scilifelab.se',
// Exclude the integration tests from CI
// Remove it to execute it on dev
excludeSpecPattern: [
"cypress/e2e/integration-tests/*"
],
setupNodeEvents(on, config) {
// implement node event listeners here
const logOptions = {
printLogsToConsole: 'always',
};
require('cypress-terminal-report/src/installLogsPrinter')(on, logOptions);
},
},
});