-
Notifications
You must be signed in to change notification settings - Fork 5
/
cypress.config.ts
32 lines (30 loc) · 1005 Bytes
/
cypress.config.ts
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
import { defineConfig } from 'cypress';
import * as dotenv from 'dotenv';
dotenv.config();
export default defineConfig({
defaultCommandTimeout: 150000, // 150
pageLoadTimeout: 600000, // 600
requestTimeout: 150000, // 150
responseTimeout: 200000, // 200
video: true,
videoCompression: true,
retries: 2,
reporter: 'junit',
reporterOptions: {
mochaFile: 'cypress/results/results.xml',
toConsole: false,
},
e2e: {
baseUrl: 'http://localhost:3000/',
excludeSpecPattern: '**/ignoredTestFiles/*.js',
specPattern: 'cypress/e2e/**/*.spec.{js,jsx,ts,tsx}',
experimentalRunAllSpecs: true,
},
env: {
AAS_REPO_API_URL: 'http://localhost:5064/repo',
SUBMODEL_REPO_API_URL: 'http://localhost:5064/repo',
MNESTIX_BACKEND_API_URL: 'http://localhost:5064',
AAS_DISCOVERY_API_URL: 'http://localhost:5064/discovery',
MNESTIX_API_KEY: process.env.MNESTIX_BACKEND_API_KEY,
},
});