-
Notifications
You must be signed in to change notification settings - Fork 11
/
cy-runner.yml
193 lines (191 loc) · 6.88 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
---
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
orderFormConfig: https://productusqa.vtexcommercestable.com.br/api/checkout/pvt/configuration/orderForm
jira:
enabled: true
account: vtex-dev
board: PERMISSION
issueType: Bug
priority: High
testing: true
slack:
enabled: false
channel: some-channel
cypress:
devMode: false
runHeaded: false
getCookies: true
maxJobs: 3
quiet: true
projectId: ujsuhs
video: false
videoCompression: false
videoUploadOnPasses: false
screenshotOnRunFailure: true
trashAssetsBeforeRuns: false
viewportWidth: 1440
viewportHeight: 900
defaultCommandTimeout: 25000
requestTimeout: 25000
watchForFileChanges: false
pageLoadTimeout: 45000
browser: chrome
chromeWebSecurity: false
sorry: false
stateFiles:
- .organization.json
- .quotes.json
workspace:
# If random a new name will be generated with prefix (ie b2b1234567)
name: random
prefix: b2b
# If enabled it'll link the app for integration tests with PR code
linkApp:
enabled: true
# List of apps will be installed, if not empty and config.vtexCli disabled,
# you must ensure your vtex cli is authenticated already
installApps:
- vtex.b2b-suite
- vtex.b2b-quotes
- vtex.quickorder
# Theme
- vtex.wish-list
- vtex.location-availability
- vtex.wordpress-integration
- vtex.storefront-permissions-ui
- vtex.b2bstore
removeApps:
- vtex.bitcot-qa-theme
wipe:
enabled: true
stopOnFail: false
specs:
- cypress-shared/integration/b2b/wipe.spec.js
teardown:
enabled: true
strategy:
# The strategies must be in order, with dependent tests last
organizationAB:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.1.1-create_&_approve_organizationA.spec.js
- cypress-shared/integration/b2b/2.1.2-multi_organizations_requests_from_organizationB.spec.js
- cypress-shared/integration/b2b/2.1.3-organization_negative_testcases.spec.js
addCostCentersForOrganizationAandaddUsersForOrganizationB:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.2.1-add_buyer_approver_organizationA.spec.js
- cypress-shared/integration/b2b/2.3-add_buyer_approver_organizationB.spec.js
dependency:
- cypress-shared/integration/b2b/2.1.1-create_&_approve_organizationA.spec.js
- cypress-shared/integration/b2b/2.1.2-multi_organizations_requests_from_organizationB.spec.js
- cypress-shared/integration/b2b/2.1.3-organization_negative_testcases.spec.js
addUsersForOrganizationA:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.2.2-add_buyer_approver_organizationA.spec.js
dependency:
- cypress-shared/integration/b2b/2.2.1-add_buyer_approver_organizationA.spec.js
addSalesUserAndHideOrganizationByDolarSalesChannel:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: false
specs:
- cypress-shared/integration/b2b/2.4.1-add-remaining-users.spec.js
- cypress-shared/integration/b2b/2.4.2-hide_organization_by_adding_dolar_sales_channel.spec.js
dependency:
- cypress-shared/integration/b2b/2.2.1-add_buyer_approver_organizationA.spec.js
organizationABBuyersTestCasesAndShowOrganizationByBindingTestcase:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.5.1-buyer_scenarios_orgA_costA1.spec.js
- cypress-shared/integration/b2b/2.6.1-buyer_scenarios_orgA_costA2.spec.js
- cypress-shared/integration/b2b/2.7-buyer_scenarios_orgB_costB1.spec.js
- cypress-shared/integration/b2b/2.4.3-show_organization_by_adding_principal_sales_channel.spec.js
dependency:
- cypress-shared/integration/b2b/2.4.1-add-remaining-users.spec.js
- cypress-shared/integration/b2b/2.4.2-hide_organization_by_adding_dolar_sales_channel.spec.js
organizationABBuyersRemainingTestCases:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.5.2-buyer_scenarios_orgA_costA1.spec.js
- cypress-shared/integration/b2b/2.6.2-buyer_scenarios_orgA_costA2.spec.js
dependency:
- cypress-shared/integration/b2b/2.5.1-buyer_scenarios_orgA_costA1.spec.js
- cypress-shared/integration/b2b/2.6.1-buyer_scenarios_orgA_costA2.spec.js
organizationABUsersTestCases:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.8.1-organization_admin_scenarios-orgA.spec.js
- cypress-shared/integration/b2b/2.9-approver_scenarios_orgA.spec.js
- cypress-shared/integration/b2b/2.10-approver_scenarios_orgA_costcenter2.spec.js
- cypress-shared/integration/b2b/2.11-approver_scenarios_orgB.spec.js
dependency:
- cypress-shared/integration/b2b/2.5.2-buyer_scenarios_orgA_costA1.spec.js
- cypress-shared/integration/b2b/2.6.2-buyer_scenarios_orgA_costA2.spec.js
- cypress-shared/integration/b2b/2.7-buyer_scenarios_orgB_costB1.spec.js
- cypress-shared/integration/b2b/2.4.3-show_organization_by_adding_principal_sales_channel.spec.js
organizationAUsersBasicTests2:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.8.2-organization_admin_scenarios-orgA.spec.js
- cypress-shared/integration/b2b/2.12.1-sales_admin_scenarios.spec.js
- cypress-shared/integration/b2b/2.13.1-sales_manager_scenarios.spec.js
- cypress-shared/integration/b2b/2.14.1-sales_rep_scenarios.spec.js
dependency:
- cypress-shared/integration/b2b/2.8.1-organization_admin_scenarios-orgA.spec.js
organizationASalesUsersImpersonationTestCases:
enabled: true
sendDashboard: true
hardTries: 2
stopOnFail: false
parallel: true
specs:
- cypress-shared/integration/b2b/2.12.2-sales_admin_scenarios.spec.js
- cypress-shared/integration/b2b/2.13.2-sales_manager_scenarios.spec.js
- cypress-shared/integration/b2b/2.14.2-sales_rep_scenarios.spec.js
dependency:
- cypress-shared/integration/b2b/2.12.1-sales_admin_scenarios.spec.js
- cypress-shared/integration/b2b/2.13.1-sales_manager_scenarios.spec.js
- cypress-shared/integration/b2b/2.14.1-sales_rep_scenarios.spec.js