-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.ts
61 lines (59 loc) · 1.53 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import { defineConfig } from 'cypress';
export default defineConfig({
projectId: 'rncrpx',
videosFolder: 'cypress/videos',
screenshotsFolder: 'cypress/screenshots',
fixturesFolder: 'cypress/fixtures',
video: true,
viewportHeight: 969,
viewportWidth: 1669,
experimentalStudio: true,
waitForAnimations: true,
defaultCommandTimeout: 40000,
env: {
mobileViewportWidthBreakpoint: 600,
baseUrl: 'https://api-sky-krono.skyzerozx.com',
service: {
visit: 'http://localhost:4200',
api: 'https://api-sky-krono.skyzerozx.com',
},
dateRange: {
dateInit: '25',
dateEnd: '27',
},
users: {
admin: {
username: '[email protected]',
name: 'SkyBot',
fatherLastName: 'paterno',
motherLastName: 'materno',
password: 'Admin1',
role: 'admin',
},
employee: {
username: '[email protected]',
password: 'Admin1',
role: 'employee',
},
firstLogin: {
username: '[email protected]',
password: 'PjjiN5UvZ9',
role: 'admin',
},
reset: {
username: '[email protected]',
},
},
},
e2e: {
experimentalStudio: true,
// supportFile: 'cypress/support/commands.ts',
setupNodeEvents(on, config) {
require('@cypress/code-coverage/task')(on, config);
// include any other plugin code...
// It's IMPORTANT to return the config object
// with any changed environment variables
return config;
},
},
});