Skip to content

Commit f53934d

Browse files
committed
chore: rm reports folder
1 parent 062e46a commit f53934d

File tree

2 files changed

+17
-254
lines changed

2 files changed

+17
-254
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install dependencies
1818
run: npm ci --legacy-peer-deps
1919
- name: Run WebDriverIO Cucumber Tests
20-
run: npm run test
20+
run: rm -rf reports && npm run test
2121
- run: npx testbeats@latest publish -c testbeats.config.json
2222
if: always()
2323
env:

reports/the-internet-guinea-pig-website.json

Lines changed: 16 additions & 253 deletions
Original file line numberDiff line numberDiff line change
@@ -5,59 +5,9 @@
55
"description": "",
66
"line": 1,
77
"name": "The Internet Guinea Pig Website",
8-
"uri": "/Users/anudeep/Documents/my/repos/test-results-reporter/example-webdriverio-cucumber-testbeats/features/login.feature",
8+
"uri": "/test-results-reporter/example-webdriverio-cucumber-testbeats/features/login.feature",
99
"tags": [],
1010
"elements": [
11-
{
12-
"keyword": "Scenario",
13-
"type": "scenario",
14-
"description": "",
15-
"name": "As a user, I can log into the secure area",
16-
"tags": [],
17-
"id": "the-internet-guinea-pig-websiteas-a-user,-i-can-log-into-the-secure-area",
18-
"steps": [
19-
{
20-
"arguments": [],
21-
"keyword": "Before",
22-
"name": "",
23-
"result": { "status": "passed", "duration": 0 },
24-
"line": null,
25-
"match": { "location": "can not be determined with webdriver.io" }
26-
},
27-
{
28-
"arguments": [],
29-
"keyword": "Given",
30-
"name": "I am on the login page",
31-
"result": { "status": "passed", "duration": 3099000000 },
32-
"line": null,
33-
"match": { "location": "can not be determined with webdriver.io" }
34-
},
35-
{
36-
"arguments": [],
37-
"keyword": "When",
38-
"name": "I login with tomsmith and SuperSecretPassword!",
39-
"result": { "status": "passed", "duration": 557000000 },
40-
"line": null,
41-
"match": { "location": "can not be determined with webdriver.io" }
42-
},
43-
{
44-
"arguments": [],
45-
"keyword": "Then",
46-
"name": "I should see a flash message saying You logged into a secure area!",
47-
"result": { "status": "passed", "duration": 13000000 },
48-
"line": null,
49-
"match": { "location": "can not be determined with webdriver.io" }
50-
},
51-
{
52-
"arguments": [],
53-
"keyword": "After",
54-
"name": "",
55-
"result": { "status": "passed", "duration": 0 },
56-
"line": null,
57-
"match": { "location": "can not be determined with webdriver.io" }
58-
}
59-
]
60-
},
6111
{
6212
"keyword": "Scenario",
6313
"type": "scenario",
@@ -78,90 +28,23 @@
7828
"arguments": [],
7929
"keyword": "Given",
8030
"name": "I am on the login page",
81-
"result": { "status": "passed", "duration": 288000000 },
82-
"line": null,
83-
"match": { "location": "can not be determined with webdriver.io" }
84-
},
85-
{
86-
"arguments": [],
87-
"keyword": "When",
88-
"name": "I login with foobar and barfoo",
89-
"result": { "status": "passed", "duration": 550000000 },
90-
"line": null,
91-
"match": { "location": "can not be determined with webdriver.io" }
92-
},
93-
{
94-
"arguments": [],
95-
"keyword": "Then",
96-
"name": "I should see a flash message saying Your username is invalid!",
97-
"result": { "status": "passed", "duration": 10000000 },
98-
"line": null,
99-
"match": { "location": "can not be determined with webdriver.io" }
100-
},
101-
{
102-
"arguments": [],
103-
"keyword": "After",
104-
"name": "",
105-
"result": { "status": "passed", "duration": 0 },
106-
"line": null,
107-
"match": { "location": "can not be determined with webdriver.io" }
108-
}
109-
]
110-
}
111-
],
112-
"id": "the-internet-guinea-pig-website",
113-
"metadata": {
114-
"browser": { "name": "firefox", "version": "131.0a1" },
115-
"device": "Device name not known",
116-
"platform": { "name": "osx", "version": "Version not known" }
117-
}
118-
},
119-
{
120-
"keyword": "Feature",
121-
"type": "feature",
122-
"description": "",
123-
"line": 1,
124-
"name": "The Internet Guinea Pig Website",
125-
"uri": "/Users/anudeep/Documents/my/repos/test-results-reporter/example-webdriverio-cucumber-testbeats/features/login.feature",
126-
"tags": [],
127-
"elements": [
128-
{
129-
"keyword": "Scenario",
130-
"type": "scenario",
131-
"description": "",
132-
"name": "As a user, I can log into the secure area",
133-
"tags": [],
134-
"id": "the-internet-guinea-pig-websiteas-a-user,-i-can-log-into-the-secure-area",
135-
"steps": [
136-
{
137-
"arguments": [],
138-
"keyword": "Before",
139-
"name": "",
140-
"result": { "status": "passed", "duration": 0 },
141-
"line": null,
142-
"match": { "location": "can not be determined with webdriver.io" }
143-
},
144-
{
145-
"arguments": [],
146-
"keyword": "Given",
147-
"name": "I am on the login page",
148-
"result": { "status": "passed", "duration": 3291000000 },
31+
"result": { "status": "passed", "duration": 3487000000 },
14932
"line": null,
15033
"match": { "location": "can not be determined with webdriver.io" }
15134
},
15235
{
15336
"arguments": [],
15437
"keyword": "When",
15538
"name": "I login with tomsmith and SuperSecretPassword!",
156-
"result": { "status": "passed", "duration": 655000000 },
39+
"result": { "status": "passed", "duration": 654000000 },
15740
"line": null,
15841
"match": { "location": "can not be determined with webdriver.io" }
15942
},
16043
{
16144
"arguments": [],
16245
"keyword": "Then",
16346
"name": "I should see a flash message saying You logged into a secure area!",
164-
"result": { "status": "passed", "duration": 24000000 },
47+
"result": { "status": "passed", "duration": 14000000 },
16548
"line": null,
16649
"match": { "location": "can not be determined with webdriver.io" }
16750
},
@@ -175,76 +58,6 @@
17558
}
17659
]
17760
},
178-
{
179-
"keyword": "Scenario",
180-
"type": "scenario",
181-
"description": "",
182-
"name": "As a user, I can log into the secure area",
183-
"tags": [],
184-
"id": "the-internet-guinea-pig-websiteas-a-user,-i-can-log-into-the-secure-area",
185-
"steps": [
186-
{
187-
"arguments": [],
188-
"keyword": "Before",
189-
"name": "",
190-
"result": { "status": "passed", "duration": 0 },
191-
"line": null,
192-
"match": { "location": "can not be determined with webdriver.io" }
193-
},
194-
{
195-
"arguments": [],
196-
"keyword": "Given",
197-
"name": "I am on the login page",
198-
"result": { "status": "passed", "duration": 262000000 },
199-
"line": null,
200-
"match": { "location": "can not be determined with webdriver.io" }
201-
},
202-
{
203-
"arguments": [],
204-
"keyword": "When",
205-
"name": "I login with foobar and barfoo",
206-
"result": { "status": "passed", "duration": 569000000 },
207-
"line": null,
208-
"match": { "location": "can not be determined with webdriver.io" }
209-
},
210-
{
211-
"arguments": [],
212-
"keyword": "Then",
213-
"name": "I should see a flash message saying Your username is invalid!",
214-
"result": { "status": "passed", "duration": 21000000 },
215-
"line": null,
216-
"match": { "location": "can not be determined with webdriver.io" }
217-
},
218-
{
219-
"arguments": [],
220-
"keyword": "After",
221-
"name": "",
222-
"result": { "status": "passed", "duration": 0 },
223-
"line": null,
224-
"match": { "location": "can not be determined with webdriver.io" }
225-
}
226-
]
227-
}
228-
],
229-
"id": "the-internet-guinea-pig-website",
230-
"metadata": {
231-
"browser": {
232-
"name": "chrome-headless-shell",
233-
"version": "127.0.6533.120"
234-
},
235-
"device": "Device name not known",
236-
"platform": { "name": "osx", "version": "Version not known" }
237-
}
238-
},
239-
{
240-
"keyword": "Feature",
241-
"type": "feature",
242-
"description": "",
243-
"line": 1,
244-
"name": "The Internet Guinea Pig Website",
245-
"uri": "/Users/anudeep/Documents/my/repos/test-results-reporter/example-webdriverio-cucumber-testbeats/features/login.feature",
246-
"tags": [],
247-
"elements": [
24861
{
24962
"keyword": "Scenario",
25063
"type": "scenario",
@@ -265,65 +78,15 @@
26578
"arguments": [],
26679
"keyword": "Given",
26780
"name": "I am on the login page",
268-
"result": { "status": "passed", "duration": 4141000000 },
269-
"line": null,
270-
"match": { "location": "can not be determined with webdriver.io" }
271-
},
272-
{
273-
"arguments": [],
274-
"keyword": "When",
275-
"name": "I login with tomsmith and SuperSecretPassword!",
276-
"result": { "status": "passed", "duration": 577000000 },
277-
"line": null,
278-
"match": { "location": "can not be determined with webdriver.io" }
279-
},
280-
{
281-
"arguments": [],
282-
"keyword": "Then",
283-
"name": "I should see a flash message saying You logged into a secure area!",
284-
"result": { "status": "passed", "duration": 13000000 },
285-
"line": null,
286-
"match": { "location": "can not be determined with webdriver.io" }
287-
},
288-
{
289-
"arguments": [],
290-
"keyword": "After",
291-
"name": "",
292-
"result": { "status": "passed", "duration": 0 },
293-
"line": null,
294-
"match": { "location": "can not be determined with webdriver.io" }
295-
}
296-
]
297-
},
298-
{
299-
"keyword": "Scenario",
300-
"type": "scenario",
301-
"description": "",
302-
"name": "As a user, I can log into the secure area",
303-
"tags": [],
304-
"id": "the-internet-guinea-pig-websiteas-a-user,-i-can-log-into-the-secure-area",
305-
"steps": [
306-
{
307-
"arguments": [],
308-
"keyword": "Before",
309-
"name": "",
310-
"result": { "status": "passed", "duration": 0 },
311-
"line": null,
312-
"match": { "location": "can not be determined with webdriver.io" }
313-
},
314-
{
315-
"arguments": [],
316-
"keyword": "Given",
317-
"name": "I am on the login page",
318-
"result": { "status": "passed", "duration": 258000000 },
81+
"result": { "status": "passed", "duration": 300000000 },
31982
"line": null,
32083
"match": { "location": "can not be determined with webdriver.io" }
32184
},
32285
{
32386
"arguments": [],
32487
"keyword": "When",
32588
"name": "I login with foobar and barfoo",
326-
"result": { "status": "passed", "duration": 570000000 },
89+
"result": { "status": "passed", "duration": 666000000 },
32790
"line": null,
32891
"match": { "location": "can not be determined with webdriver.io" }
32992
},
@@ -339,7 +102,7 @@
339102
"arguments": [],
340103
"keyword": "After",
341104
"name": "",
342-
"result": { "status": "passed", "duration": 0 },
105+
"result": { "status": "passed", "duration": 1000000 },
343106
"line": null,
344107
"match": { "location": "can not be determined with webdriver.io" }
345108
}
@@ -359,7 +122,7 @@
359122
"description": "",
360123
"line": 1,
361124
"name": "The Internet Guinea Pig Website",
362-
"uri": "/Users/anudeep/Documents/my/repos/test-results-reporter/example-webdriverio-cucumber-testbeats/features/login.feature",
125+
"uri": "/test-results-reporter/example-webdriverio-cucumber-testbeats/features/login.feature",
363126
"tags": [],
364127
"elements": [
365128
{
@@ -382,31 +145,31 @@
382145
"arguments": [],
383146
"keyword": "Given",
384147
"name": "I am on the login page",
385-
"result": { "status": "passed", "duration": 3264000000 },
148+
"result": { "status": "passed", "duration": 3312000000 },
386149
"line": null,
387150
"match": { "location": "can not be determined with webdriver.io" }
388151
},
389152
{
390153
"arguments": [],
391154
"keyword": "When",
392155
"name": "I login with tomsmith and SuperSecretPassword!",
393-
"result": { "status": "passed", "duration": 1457000000 },
156+
"result": { "status": "passed", "duration": 740000000 },
394157
"line": null,
395158
"match": { "location": "can not be determined with webdriver.io" }
396159
},
397160
{
398161
"arguments": [],
399162
"keyword": "Then",
400163
"name": "I should see a flash message saying You logged into a secure area!",
401-
"result": { "status": "passed", "duration": 24000000 },
164+
"result": { "status": "passed", "duration": 27000000 },
402165
"line": null,
403166
"match": { "location": "can not be determined with webdriver.io" }
404167
},
405168
{
406169
"arguments": [],
407170
"keyword": "After",
408171
"name": "",
409-
"result": { "status": "passed", "duration": 1000000 },
172+
"result": { "status": "passed", "duration": 0 },
410173
"line": null,
411174
"match": { "location": "can not be determined with webdriver.io" }
412175
}
@@ -432,31 +195,31 @@
432195
"arguments": [],
433196
"keyword": "Given",
434197
"name": "I am on the login page",
435-
"result": { "status": "passed", "duration": 271000000 },
198+
"result": { "status": "passed", "duration": 296000000 },
436199
"line": null,
437200
"match": { "location": "can not be determined with webdriver.io" }
438201
},
439202
{
440203
"arguments": [],
441204
"keyword": "When",
442205
"name": "I login with foobar and barfoo",
443-
"result": { "status": "passed", "duration": 588000000 },
206+
"result": { "status": "passed", "duration": 582000000 },
444207
"line": null,
445208
"match": { "location": "can not be determined with webdriver.io" }
446209
},
447210
{
448211
"arguments": [],
449212
"keyword": "Then",
450213
"name": "I should see a flash message saying Your username is invalid!",
451-
"result": { "status": "passed", "duration": 21000000 },
214+
"result": { "status": "passed", "duration": 25000000 },
452215
"line": null,
453216
"match": { "location": "can not be determined with webdriver.io" }
454217
},
455218
{
456219
"arguments": [],
457220
"keyword": "After",
458221
"name": "",
459-
"result": { "status": "passed", "duration": 0 },
222+
"result": { "status": "passed", "duration": 1000000 },
460223
"line": null,
461224
"match": { "location": "can not be determined with webdriver.io" }
462225
}

0 commit comments

Comments
 (0)