-
Notifications
You must be signed in to change notification settings - Fork 1
/
cypress.config.ts
39 lines (38 loc) · 1.05 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
import {defineConfig} from 'cypress';
export default defineConfig({
reporter: 'mochawesome',
reporterOptions: {
charts: false,
html: true,
json: false,
reportDir: 'reports',
reportFilename: 'report'
},
e2e: {
video: false,
viewportHeight: 1792,
viewportWidth: 828,
baseUrl: 'https://www.saucedemo.com/v1/',
chromeWebSecurity: false,
env: {
accounts: {
standard: {
userName: 'standard_user',
password: 'secret_sauce'
},
locked: {
userName: 'locked_out_user',
password: 'secret_sauce'
},
problem: {
userName: 'problem_user',
password: 'secret_sauce'
},
performance: {
userName: 'performance_glitch_user',
password: 'secret_sauce'
},
},
}
},
});