forked from cristinavelican/KATA_Testing_Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcucumber.json
More file actions
218 lines (218 loc) · 6.15 KB
/
Copy pathcucumber.json
File metadata and controls
218 lines (218 loc) · 6.15 KB
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
[
{
"line": 1,
"elements": [
{
"line": 4,
"name": "",
"description": "",
"type": "background",
"keyword": "Background",
"steps": [
{
"result": {
"duration": 2092005600,
"status": "passed"
},
"line": 5,
"name": "User access the hotel booking website in his browser",
"match": {
"location": "features.step_definitions.BookingSteps.user_access_the_hotel_booking_website_in_his_browser()"
},
"keyword": "Given "
}
]
},
{
"start_timestamp": "2023-02-18T18:29:11.368Z",
"line": 8,
"name": "User should be able to make a reservation",
"description": "",
"id": "hotel-booking-reservation;user-should-be-able-to-make-a-reservation",
"type": "scenario",
"keyword": "Scenario",
"steps": [
{
"result": {
"duration": 93968200,
"status": "passed"
},
"line": 9,
"name": "User clicks on the Book this room button",
"match": {
"location": "features.step_definitions.BookingSteps.user_clicks_on_the_book_this_room_button()"
},
"keyword": "Given "
},
{
"result": {
"duration": 850316400,
"status": "passed"
},
"line": 10,
"name": "User enter valid details",
"match": {
"location": "features.step_definitions.BookingSteps.user_enter_valid_details(io.cucumber.datatable.DataTable)"
},
"rows": [
{
"cells": [
"firstname",
"lastname",
"email",
"phone",
"checkin_date",
"checkout_date"
]
},
{
"cells": [
"Steve",
"Jobs",
"steve.jobs@apple.com",
"04578965254",
"18",
"20"
]
}
],
"keyword": "Given "
},
{
"result": {
"duration": 55706800,
"status": "passed"
},
"line": 13,
"name": "user clicks on the Book button",
"match": {
"location": "features.step_definitions.BookingSteps.user_clicks_on_the_book_button()"
},
"keyword": "When "
},
{
"result": {
"duration": 993900,
"status": "passed"
},
"line": 14,
"name": "user verifies the booking dates in the popup",
"match": {
"location": "features.step_definitions.BookingSteps.user_verifies_the_booking_dates_in_the_popup()"
},
"keyword": "Then "
}
],
"tags": [
{
"name": "@book"
}
]
}
],
"name": "Hotel booking reservation",
"description": " A customer should be able to use the portal to a hotel room for a desired number of nights based on the availability",
"id": "hotel-booking-reservation",
"keyword": "Feature",
"uri": "file:src/test/java/features/booking.feature",
"tags": []
},
{
"line": 1,
"elements": [
{
"start_timestamp": "2023-02-18T18:29:14.554Z",
"line": 9,
"name": "create a vet for each of the specialities",
"description": "",
"id": "pets-apis;create-a-vet-for-each-of-the-specialities;;2",
"type": "scenario",
"keyword": "Scenario Outline",
"steps": [
{
"result": {
"status": "undefined"
},
"line": 4,
"name": "I want to create vet with \"john\",\"chambers\",\"radiology\" and 1",
"match": {},
"keyword": "When "
},
{
"result": {
"status": "skipped"
},
"line": 5,
"name": "I should be able to create vet",
"match": {},
"keyword": "Then "
}
]
},
{
"start_timestamp": "2023-02-18T18:29:14.570Z",
"line": 10,
"name": "create a vet for each of the specialities",
"description": "",
"id": "pets-apis;create-a-vet-for-each-of-the-specialities;;3",
"type": "scenario",
"keyword": "Scenario Outline",
"steps": [
{
"result": {
"status": "undefined"
},
"line": 4,
"name": "I want to create vet with \"steve\",\"jobs\",\"dentistry\" and 3",
"match": {},
"keyword": "When "
},
{
"result": {
"status": "skipped"
},
"line": 5,
"name": "I should be able to create vet",
"match": {},
"keyword": "Then "
}
]
},
{
"start_timestamp": "2023-02-18T18:29:14.579Z",
"line": 11,
"name": "create a vet for each of the specialities",
"description": "",
"id": "pets-apis;create-a-vet-for-each-of-the-specialities;;4",
"type": "scenario",
"keyword": "Scenario Outline",
"steps": [
{
"result": {
"status": "undefined"
},
"line": 4,
"name": "I want to create vet with \"mary\",\"manny\",\"surgery\" and 2",
"match": {},
"keyword": "When "
},
{
"result": {
"status": "skipped"
},
"line": 5,
"name": "I should be able to create vet",
"match": {},
"keyword": "Then "
}
]
}
],
"name": "Pets APIs",
"description": "",
"id": "pets-apis",
"keyword": "Feature",
"uri": "file:src/test/java/features/booking2.feature",
"tags": []
}
]