-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0169.1 - Adding items to cart +
476 lines (476 loc) · 15 KB
/
0169.1 - Adding items to cart +
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
id: g9ybrNc8WEq3wx2RxDAlvA
projectId: 9_8aWhcLxkKc6wYz35LRiQ
projectName: Safilo SFA
created: 2022-08-22T11:19:39.6912909Z
protocol: 1
tests:
- id: jGjFWAU13UuU_6n3FotYWw
name: 0169.1 - Adding items to cart +
description: This test was auto generated from steps of the '0169 - Cart - check cart, define net discounts and net total' test
platform: Web
type: Web
driverType: Chrome
version: 1.0
creationDate: 2022-08-10T09:07:21.0000000
modificationDate: 2022-08-12T09:53:06.0000000
settings:
automationAssistant: true
appId: _WPDwzx-WEu9sEQ1q81hmQ
stepSleepTime: 500
stepTimeout: 15000
stepSleepTiming: Before
stepFailureBehaviorType: Abort
stepTakeScreenshotConditionType: Failure
application:
id: _WPDwzx-WEu9sEQ1q81hmQ
name: Login SFA
url: https://safilo--uat.lightning.force.com/
platform: Web
steps:
- id: DT7Rayr5EEWxpnOIHNZN4Q
comments: ''
enabled: true
invertResult: false
order: 1
repeat: 1
type: Action
elementId: OlhKQtAymUSTexa641BWxA
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 6f94fdaa-0041-4265-b73b-ecfcbe702d66
source: System
parameterMaps:
- name: keys
value: '[[PRODUCT1]]'
direction: Input
conditions: []
validations: []
contexts: []
- id: U6UiBLHJYU66EOOpdYsPTA
enabled: true
invertResult: false
order: 2
repeat: 1
type: Action
elementId: jUtmer5PMkqHevUqbotkUw
settings:
sleepTime: 30000
timeout: -1
sleepTiming: After
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: d03Wu5WTcka-ux3LZ1XYwA
enabled: true
invertResult: false
order: 3
repeat: 1
type: Action
elementId: c7pfqQqmQkyP3kcneooMPg
settings:
sleepTime: 20000
timeout: -1
sleepTiming: After
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: Jdhc6Wlj9UO_mFm9IVY8Rg
comments: ''
enabled: true
invertResult: false
order: 4
repeat: 1
type: Action
elementId: gutsRZVp2Uu9xOe3G6rMuQ
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 511ddb4e-210f-4f3f-9fb9-b766bb23ee6a
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: fg3fWU9Dbke7CYjCvIEk2A
comments: ''
enabled: true
invertResult: false
order: 5
repeat: 1
type: Action
elementId: gutsRZVp2Uu9xOe3G6rMuQ
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 6f94fdaa-0041-4265-b73b-ecfcbe702d66
source: System
parameterMaps:
- name: keys
value: '[[QUANTITY1]]'
direction: Input
conditions: []
validations: []
contexts: []
- id: y4twVpTmgEyBjnVtutSCDw
enabled: true
invertResult: false
order: 6
repeat: 1
type: Action
elementId: XwA1S8AmnU6IYDd7VgqTCw
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: 9AgkSW6IuE-V8izZPjNjpw
enabled: true
invertResult: false
order: 7
repeat: 1
type: Action
elementId: xNy9T63kMkSkOHaRKjpD3g
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: WFGLOrfmhk253NRc_cM3Pg
comments: ''
enabled: true
invertResult: false
order: 8
repeat: 1
type: Action
elementId: OlhKQtAymUSTexa641BWxA
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 511ddb4e-210f-4f3f-9fb9-b766bb23ee6a
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: Q4bsPTp1GUu2BR9SD0Naig
comments: ''
enabled: true
invertResult: false
order: 9
repeat: 1
type: Action
elementId: OlhKQtAymUSTexa641BWxA
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 6f94fdaa-0041-4265-b73b-ecfcbe702d66
source: System
parameterMaps:
- name: keys
value: '[[PRODUCT2]]'
direction: Input
conditions: []
validations: []
contexts: []
- id: Cd8XkViccUuEG5Em2XUQPQ
enabled: true
invertResult: false
order: 10
repeat: 1
type: Action
elementId: jUtmer5PMkqHevUqbotkUw
settings:
sleepTime: 30000
timeout: -1
sleepTiming: After
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: FbRddvmPGUCzFT7mKgSDow
enabled: true
invertResult: false
order: 11
repeat: 1
type: Action
elementId: c7pfqQqmQkyP3kcneooMPg
settings:
sleepTime: 20000
timeout: -1
sleepTiming: After
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: 4ZBPeoNVC0e1EwOoXc0QPw
comments: ''
enabled: true
invertResult: false
order: 12
repeat: 1
type: Action
elementId: gutsRZVp2Uu9xOe3G6rMuQ
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 511ddb4e-210f-4f3f-9fb9-b766bb23ee6a
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: wOTmngS_XE6maeHopu4-ow
comments: ''
enabled: true
invertResult: false
order: 13
repeat: 1
type: Action
elementId: gutsRZVp2Uu9xOe3G6rMuQ
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 6f94fdaa-0041-4265-b73b-ecfcbe702d66
source: System
parameterMaps:
- name: keys
value: '[[QUANTITY2]]'
direction: Input
conditions: []
validations: []
contexts: []
- id: 90ZnvKKJmEimswMW3r2s0w
enabled: true
invertResult: false
order: 14
repeat: 1
type: Action
elementId: XwA1S8AmnU6IYDd7VgqTCw
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: 0JCr_ZanxkyRbKNnuZgxLQ
enabled: true
invertResult: false
order: 15
repeat: 1
type: Action
elementId: xNy9T63kMkSkOHaRKjpD3g
settings:
sleepTime: -1
timeout: -1
sleepTiming: Inherit
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
- id: 2g5fEzvunUuCSu4Pjsv13w
enabled: true
invertResult: false
order: 16
repeat: 1
type: Action
elementId: 44jcCpg1ykm9YQnyYYgpXg
settings:
sleepTime: 20000
timeout: -1
sleepTiming: After
failureBehaviorType: Inherit
takeScreenshotConditionType: Inherit
action:
id: 02d572b2-d610-4700-9ad3-40076ddb9807
source: System
parameterMaps: []
conditions: []
validations: []
contexts: []
parameters: []
auxTests: []
elements:
- id: OlhKQtAymUSTexa641BWxA
name: Search in the Catalog - Digit Code, N...
type:
id: jUwODgyNjAyNzk2NTk1NDY
name: Textbox
source: System
locators:
- name: XPATH
value: /html/body/div[4]/div[1]/section/div[1]/div[2]/div[2]/div[1]/div/div/div/div[3]/div/*[name()='app_flexipage-lwc-app-flexipage']/*[name()='app_flexipage-lwc-app-flexipage-decorator']/slot/*[name()='app_flexipage-lwc-app-flexipage-internal']/*[name()='forcegenerated-adg-rollup_component___force-generated__flexipage_-app-page___-s-f-a_-catalog-page']/*[name()='forcegenerated-flexipage_sfa_catalogpage__js']/flexipage-lwc-default-app-home-template/div/div/slot/flexipage-component2/slot/*[name()='c-sfa_-context']/*[name()='c-sfa_-product-list']/*[name()='c-sfa_-p-l-p-header']/div/div[1]/div[2]/div/div[1]/div/div/input
priority: 3
- name: XPATH
value: //div[1]/div/div/input
priority: 0
- name: XPATH
value: //input[@placeholder = 'Search in the Catalog - Digit Code, Name or Brand']
priority: 2
- name: CSSSELECTOR
value: '#searchStringId-1816'
priority: 1
- id: jUtmer5PMkqHevUqbotkUw
name: svg6
type:
id: jUwODgyNjAyNzk2NTk1NDM
name: Generic Web Element
source: System
locators:
- name: XPATH
value: //div/lightning-icon[2]//*[name()='svg']
priority: 0
- name: XPATH
value: /html/body/div[4]/div[1]/section/div[1]/div[2]/div[2]/div[1]/div/div/div/div[3]/div/*[name()='app_flexipage-lwc-app-flexipage']/*[name()='app_flexipage-lwc-app-flexipage-decorator']/slot/*[name()='app_flexipage-lwc-app-flexipage-internal']/*[name()='forcegenerated-adg-rollup_component___force-generated__flexipage_-app-page___-s-f-a_-catalog-page']/*[name()='forcegenerated-flexipage_sfa_catalogpage__js']/flexipage-lwc-default-app-home-template/div/div/slot/flexipage-component2/slot/*[name()='c-sfa_-context']/*[name()='c-sfa_-product-list']/*[name()='c-sfa_-p-l-p-header']/div/div[1]/div[2]/div/div[1]/div/div[1]/lightning-icon[2]/lightning-primitive-icon/*[name()='svg']
priority: 1
- id: c7pfqQqmQkyP3kcneooMPg
name: IMG1
type:
id: jUwODgyNjAyNzk2NTk1NTI
name: Image
source: System
locators:
- name: XPATH
value: /html/body/div[4]/div[1]/section/div[1]/div[2]/div[2]/div[1]/div/div/div/div[3]/div/*[name()='app_flexipage-lwc-app-flexipage']/*[name()='app_flexipage-lwc-app-flexipage-decorator']/slot/*[name()='app_flexipage-lwc-app-flexipage-internal']/*[name()='forcegenerated-adg-rollup_component___force-generated__flexipage_-app-page___-s-f-a_-catalog-page']/*[name()='forcegenerated-flexipage_sfa_catalogpage__js']/flexipage-lwc-default-app-home-template/div/div/slot/flexipage-component2/slot/*[name()='c-sfa_-context']/*[name()='c-sfa_-product-list']/div/div/lightning-layout/slot/lightning-layout-item/slot/*[name()='c-sfa_-p-l-p-product-item']/div/div/div/div/div[2]/*[name()='c-sfa_product-img']/img
priority: 1
- name: XPATH
value: //*[name()='c-sfa_product-img']/img
priority: 0
- id: gutsRZVp2Uu9xOe3G6rMuQ
name: INPUT6
type:
id: jUwODgyNjAyNzk2NTk1NDY
name: Textbox
source: System
locators:
- name: XPATH
value: //div[1]/*[name()='c-sfa_pdp-variant-detail-row']//input
priority: 0
- name: XPATH
value: /html/body/div[4]/div[1]/section/div[1]/div[2]/div[2]/div[1]/div/div/div/div[3]/div/*[name()='app_flexipage-lwc-app-flexipage']/*[name()='app_flexipage-lwc-app-flexipage-decorator']/slot/*[name()='app_flexipage-lwc-app-flexipage-internal']/*[name()='forcegenerated-adg-rollup_component___force-generated__flexipage_-app-page___-s-f-a_-catalog-page']/*[name()='forcegenerated-flexipage_sfa_catalogpage__js']/flexipage-lwc-default-app-home-template/div/div/slot/flexipage-component2/slot/*[name()='c-sfa_-context']/*[name()='c-sfa_product-display-view']/div[2]/lightning-card/article/div[2]/slot/lightning-layout/slot/lightning-layout-item/slot/*[name()='c-sfa_pdp-variant-detail']/div[1]/*[name()='c-sfa_pdp-variant-detail-row']/lightning-layout/slot/lightning-layout-item/slot/lightning-layout/slot/lightning-layout-item[2]/slot/div/lightning-layout-item/slot/lightning-layout/slot/lightning-layout-item/slot/lightning-layout-item/slot/lightning-layout/slot/lightning-layout-item[5]/slot/div[2]/*[name()='c-sfa_quantity-counter']/div/input
priority: 1
- id: XwA1S8AmnU6IYDd7VgqTCw
name: DIV15
type:
id: jUwODgyNjAyNzk2NTk1NjM
name: Div
source: System
locators:
- name: XPATH
value: //*[name()='c-sfa_product-display-view']/section/div
priority: 0
- name: XPATH
value: /html/body/div[4]/div[1]/section/div[1]/div[2]/div[2]/div[1]/div/div/div/div[3]/div/*[name()='app_flexipage-lwc-app-flexipage']/*[name()='app_flexipage-lwc-app-flexipage-decorator']/slot/*[name()='app_flexipage-lwc-app-flexipage-internal']/*[name()='forcegenerated-adg-rollup_component___force-generated__flexipage_-app-page___-s-f-a_-catalog-page']/*[name()='forcegenerated-flexipage_sfa_catalogpage__js']/flexipage-lwc-default-app-home-template/div/div/slot/flexipage-component2/slot/*[name()='c-sfa_-context']/*[name()='c-sfa_product-display-view']/section/div
priority: 1
- id: xNy9T63kMkSkOHaRKjpD3g
name: Add to cart1
type:
id: jUwODgyNjAyNzk2NTk1NDc
name: Button
source: System
locators:
- name: XPATH
value: //button[. = 'Add to cart']
priority: 0
- name: XPATH
value: //div/div/div[2]/lightning-button/button
priority: 1
- name: XPATH
value: /html/body/div[4]/div[1]/section/div[1]/div[2]/div[2]/div[1]/div/div/div/div[3]/div/*[name()='app_flexipage-lwc-app-flexipage']/*[name()='app_flexipage-lwc-app-flexipage-decorator']/slot/*[name()='app_flexipage-lwc-app-flexipage-internal']/*[name()='forcegenerated-adg-rollup_component___force-generated__flexipage_-app-page___-s-f-a_-catalog-page']/*[name()='forcegenerated-flexipage_sfa_catalogpage__js']/flexipage-lwc-default-app-home-template/div/div/slot/flexipage-component2/slot/*[name()='c-sfa_-context']/*[name()='c-sfa_product-display-view']/section/div/div/div/div[2]/lightning-button/button
priority: 2
- id: 44jcCpg1ykm9YQnyYYgpXg
name: 'Cart items: 14'
type:
id: jUwODgyNjAyNzk2NTk1NjU
name: span
source: System
locators:
- name: XPATH
value: "//span[. = 'Cart items: 14']"
priority: 1
- name: XPATH
value: //li[2]/div/div//span
priority: 0
- name: XPATH
value: /html/body/div[4]/div[1]/section/div[2]/div[1]/div[8]/ul/li[2]/div/div/button/span
priority: 2
projectParameters: []
addons: []