generated from vtex-apps/react-app-template
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathcy-runner.yml
113 lines (113 loc) · 3.15 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
---
base:
secrets:
enabled: true
name: VTEX_QE
vtex:
account: productusqa
id: 2001459804
domain: myvtex.com
vtexIdUrl: https://vtexid.vtex.com.br/api/vtexid/pub/authenticate/default
jira:
enabled: true
account: vtex-dev
board: STORELOCAT
issueType: Bug
priority: High
testing: true
slack:
enabled: false
channel: some-channel
cypress:
devMode: false
runHeaded: false
projectId: svuskc
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: [.storelocator.json]
workspace:
name: random
prefix: storelocator
linkApp:
enabled: true
logOutput:
enabled: false
installApps:
# store theme will work only when its peer dependency store-locator is added in the workspace
# So, installing store-locator@0.xversion
- vtex.store-locator@0.x
# Published a new theme for store-theme E2E test
- vtex.store-locator-qa-theme@0.0.1
# Store locator reads pickup points from store-graphql
- vtex.store-graphql
removeApps:
- vtex.bitcot-qa-theme
wipe:
enabled: true
stopOnFail: false
specs:
- cypress/integration/wipe.spec.js
teardown:
enabled: true
strategy:
# We create pickup points in E2E
# Here we are running deletePickupPoints first so that we can ensure that we always start E2E tests from scratch
deletePickupPoints:
enabled: true
sendDashboard: false
hardTries: 3
stopOnFail: true
parallel: false
specs:
- cypress/integration/2.1.1-delete_pickup_points.spec.js
# API Test case ,add pickup point & add pickup points via csv
addPickupPoints:
enabled: true
sendDashboard: true
hardTries: 1
stopOnFail: true
parallel: true
specs:
- cypress/integration/2.1.2-rest_graphql_apis.spec.js
- cypress/integration/2.2.1-add_pickup_point.spec.js
- cypress/integration/2.2.2-add_multiple_pickup_points_via_csv.spec.js
# add pickup points and order the product
verifyPickupPoints:
enabled: true
sendDashboard: true
hardTries: 4
stopOnFail: false
parallel: true
specs:
- cypress/integration/2.3-verify_pickup_points.spec.js
- cypress/integration/2.4-order_product_via_pick_up_store.spec.js
dependency:
- cypress/integration/2.1.2-rest_graphql_apis.spec.js
- cypress/integration/2.2.1-add_pickup_point.spec.js
- cypress/integration/2.2.2-add_multiple_pickup_points_via_csv.spec.js
# inactive pickup points should not be shown
inactivePickupPoints:
enabled: true
sendDashboard: true
hardTries: 3
stopOnFail: false
parallel: false
specs:
- cypress/integration/2.5-inactive_pickup_scenarios.spec.js
dependency:
- cypress/integration/2.3-verify_pickup_points.spec.js
- cypress/integration/2.4-order_product_via_pick_up_store.spec.js