-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathcy-runner.yml
225 lines (223 loc) · 6.06 KB
/
cy-runner.yml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
---
base:
secrets:
enabled: true
name: VTEX_QE
vtex:
account: productusqa
id: 2001459804
domain: myvtex.com
urlExternalSeller: https://productusqaseller.myvtex.com
vtexIdUrl: https://vtexid.vtex.com.br/api/vtexid/pub/authenticate/default
jira:
enabled: true
account: vtex-dev
board: REVIEWS
issueType: Bug
priority: High
testing: true
slack:
enabled: false
channel: some-channel
cypress:
devMode: false
runHeaded: false
enabled: false
projectId: 964exx
getCookies: true
maxJobs: 3
quiet: true
video: false
videoCompression: false
videoUploadOnPasses: false
screenshotOnRunFailure: true
trashAssetsBeforeRuns: false
viewportWidth: 1440
viewportHeight: 1500
defaultCommandTimeout: 25000
requestTimeout: 25000
watchForFileChanges: false
pageLoadTimeout: 45000
browser: chrome
chromeWebSecurity: false
stateFiles: [.reviews.json]
workspace:
name: random
prefix: reviewsandratings
linkApp:
enabled: true
logOutput:
enabled: false
installApps: []
removeApps: []
wipe:
enabled: true
stopOnFail: false
specs:
- cypress/integration/wipe.spec.js
teardown:
enabled: true
strategy:
# Clear reviews before testcase
wipe:
enabled: true
sendDashboard: false
hardTries: 1
stopOnFail: false
parallel: true
specs:
- cypress/integration/wipe.spec.js
# Enable Anonymous review with no admin approval & Order Product
anonymous_user1:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.1.1-anonymous_user.spec.js
- cypress/integration/2.2.1-ordering_the_product.spec.js
dependency:
- cypress/integration/wipe.spec.js
signed_in_user1:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: false
specs:
- cypress/integration/2.1.2-signed_in_user.spec.js
- cypress/integration/2.1.3-verify_review_with_signed_user.spec.js
dependency:
- cypress/integration/2.1.1-anonymous_user.spec.js
# Disable Anonymous review with no admin approval
anonymous_user2:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.2.2-anonymous_user.spec.js
dependency:
- cypress/integration/2.1.2-signed_in_user.spec.js
- cypress/integration/2.1.3-verify_review_with_signed_user.spec.js
- cypress/integration/2.2.1-ordering_the_product.spec.js
signed_in_user_2:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: false
specs:
- cypress/integration/2.2.3-signed_in_user.spec.js
dependency:
- cypress/integration/2.1.2-signed_in_user.spec.js
- cypress/integration/2.1.3-verify_review_with_signed_user.spec.js
- cypress/integration/2.2.1-ordering_the_product.spec.js
rest_api_testcase:
enabled: true
sendDashboard: true
hardTries: 3
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.5-rest_apis.spec.js
dependency:
- cypress/integration/2.2.3-signed_in_user.spec.js
graphql_api_testcase:
enabled: true
sendDashboard: true
hardTries: 5
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.6-graphql.spec.js
dependency:
- cypress/integration/2.5-rest_apis.spec.js
verified_purchaser_and_anonymous_user3:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.3.1-anonymous_user.spec.js
- cypress/integration/2.2.4-verify_review_with_signed_user.spec.js
dependency:
- cypress/integration/2.6-graphql.spec.js
signed_in_user_3:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.3.2-signed_in_user.spec.js
dependency:
- cypress/integration/2.3.1-anonymous_user.spec.js
# Disable Anonymous review with admin approval
anonymous_user4:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.4.1-anonymous_user.spec.js
dependency:
- cypress/integration/2.3.2-signed_in_user.spec.js
signed_in_user_4:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.4.2-signed_in_user.spec.js
dependency:
- cypress/integration/2.4.1-anonymous_user.spec.js
display_settings_anonymous_user:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: false
runInOrder: true
specs:
- cypress/integration/2.7.1-disable_display_settings_&_verify_with_anonymous_user.spec.js
dependency:
- cypress/integration/2.4.2-signed_in_user.spec.js
display_settings_disabled_anonymous_user:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: false
runInOrder: true
specs:
- cypress/integration/2.7.2-enable_display_settings_&_verify_with_anonymous_user.spec.js
dependency:
- cypress/integration/2.7.1-disable_display_settings_&_verify_with_anonymous_user.spec.js
display_settings_signed_in_user:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: false
runInOrder: true
specs:
- cypress/integration/2.7.3-enable_display_settings_&_verify_with_signed_in_user.spec.js
dependency:
- cypress/integration/2.7.2-enable_display_settings_&_verify_with_anonymous_user.spec.js
display_settings_disabled_signed_in_user:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: false
parallel: false
runInOrder: true
specs:
- cypress/integration/2.7.4-disable_display_settings_&_verify_with_signed_in_user.spec.js
dependency:
- cypress/integration/2.7.3-enable_display_settings_&_verify_with_signed_in_user.spec.js