-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_report.html
497 lines (495 loc) · 16.7 KB
/
test_report.html
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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Network App Testing Tool</title>
<link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@b00a2d0486596e73dd7326beacf352c639623a0e/commons/img/logo.png">
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@b00a2d0486596e73dd7326beacf352c639623a0e/commons/img/logo.png">
<link href="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@c43b89d03a7c43dae8bb8f0f078bad1997af6b3b/spark/css/spark-style.css" rel="stylesheet" />
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script src="https://cdn.rawgit.com/extent-framework/extent-github-cdn/7cc78ce/spark/js/jsontree.js"></script>
<style type="text/css"></style></head><body class="spa -report standard">
<div class="app">
<div class="layout">
<div class="header navbar">
<div class="vheader">
<div class="nav-logo">
<a href="#">
<div class="logo" style="background-image: url('https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@b00a2d0486596e73dd7326beacf352c639623a0e/commons/img/logo.png')"></div>
</a>
</div>
<ul class="nav-left">
<li class="search-box">
<a class="search-toggle" href="#">
<i class="search-icon fa fa-search"></i>
<i class="search-icon-close fa fa-close"></i>
</a>
</li>
<li class="search-input"><input id="search-tests" class="form-control" type="text" placeholder="Search..."></li>
</ul>
<ul class="nav-right">
<li class="m-r-10">
<a href="#"><span class="badge badge-primary">Test report</span></a>
</li>
<li class="m-r-10">
<a href="#"><span class="badge badge-primary">Sep 19, 2024 03:04:28 PM</span></a>
</li>
</ul>
</div>
</div><div class="side-nav">
<div class="side-nav-inner">
<ul class="side-nav-menu">
<li class="nav-item dropdown" onclick="toggleView('test-view')">
<a id="nav-test" class="dropdown-toggle" href="#">
<span class="ico"><i class="fa fa-list"></i></span>
</a>
</li>
<li class="nav-item dropdown" onclick="toggleView('category-view')">
<a id="nav-category" class="dropdown-toggle" href="#">
<span class="ico"><i class="fa fa-tag"></i></span>
</a>
</li>
<li class="nav-item dropdown" onclick="toggleView('dashboard-view')">
<a id="nav-dashboard" class="dropdown-toggle" href="#">
<span class="ico"><i class="fa fa-bar-chart"></i></span>
</a>
</li>
</ul>
</div>
</div> <div class="vcontainer">
<div class="main-content">
<div class="test-wrapper row view test-view">
<div class="test-list">
<div class="test-list-tools">
<ul class="tools pull-left">
<li><a href="#"><span class="font-size-14">Tests</span></a></li>
</ul>
<ul class="tools text-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-exclamation-circle"></i></a>
<ul id="status-toggle" class="dropdown-menu dropdown-md p-v-0">
<a class="dropdown-item" status="pass" href="#"><span>Pass</span><span class="status success"></span></a>
<a class="dropdown-item" status="fail" href="#"><span>Fail</span><span class="status danger"></span></a>
<div class="dropdown-divider"></div>
<a status="clear" class="dropdown-item" href="#"><span>Clear</span><span class="pull-right"><i class="fa fa-close"></i></span></a>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-tag"></i></a>
<ul id="tag-toggle" class="dropdown-menu dropdown-md p-v-0">
<a class="dropdown-item" href="#">Suitename1</a>
</ul>
</li>
</ul>
</div> <div class="test-list-wrapper scrollable">
<ul class="test-list-item">
<li class="test-item" status="pass" test-id="1"
author=""
tag=""
device="">
<div class="test-detail">
<p class="name">Test root initialization</p>
<p class="text-sm">
<span>15:04:28 PM</span> / <span>00:00:00:000</span>
<span class="badge pass-bg log float-right">Pass</span>
</p>
</div>
<div class="test-contents d-none">
<div class="detail-head">
<div class="p-v-10">
<div class="info">
<h5 class="test-status text-pass">Test root initialization</h5>
<span class='badge badge-success'>09.19.2024 15:04:28</span>
<span class='badge badge-danger'>09.19.2024 15:04:28</span>
<span class='badge badge-default'>00:00:00:000</span>
· <span class='uri-anchor badge badge-default'>#test-id=1</span>
</div>
<div class="m-t-10 m-l-5"></div>
</div>
</div><div class="detail-body mt-4">
<table class="table table-sm">
<thead><tr><th class="status-col">Status</th><th class="timestamp-col">Timestamp</th><th class="details-col">Details</th></tr></thead>
<tbody>
<tr class="event-row">
<td><span class="badge log pass-bg">Pass</span></td>
<td>3:04:28 PM</td>
<td>
<b>[Create Telnet Server]</b> port = 9999, name = "module-1"<br><font color="green">The module with name 'module-1' is running.</font>
</td>
</tr>
<tr class="event-row">
<td><span class="badge log pass-bg">Pass</span></td>
<td>3:04:28 PM</td>
<td>
<b>[Run App]</b> "java -jar app/build/libs/app.jar localhost 9999"
</td>
</tr>
<tr class="event-row">
<td><span class="badge log pass-bg">Pass</span></td>
<td>3:04:29 PM</td>
<td>
<b>[Wait]</b> 1000
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li class="test-item" status="fail" test-id="2"
author=""
tag="Suitename1"
device="">
<div class="test-detail">
<p class="name">Case name 1</p>
<p class="text-sm">
<span>15:04:28 PM</span> / <span>00:00:00:000</span>
<span class="badge fail-bg log float-right">Fail</span>
</p>
</div>
<div class="test-contents d-none">
<div class="detail-head">
<div class="p-v-10">
<div class="info">
<h5 class="test-status text-fail">Case name 1</h5>
<span class='badge badge-success'>09.19.2024 15:04:28</span>
<span class='badge badge-danger'>09.19.2024 15:04:28</span>
<span class='badge badge-default'>00:00:00:000</span>
· <span class='uri-anchor badge badge-default'>#test-id=2</span>
</div>
<div class="m-t-15"><span class="badge badge-pill badge-default">Suitename1</span></div>
<div class="m-t-10 m-l-5">Description 1 here</div>
</div>
</div><div class="detail-body mt-4">
<table class="table table-sm">
<thead><tr><th class="status-col">Status</th><th class="timestamp-col">Timestamp</th><th class="details-col">Details</th></tr></thead>
<tbody>
<tr class="event-row">
<td><span class="badge log fail-bg">Fail</span></td>
<td>3:04:29 PM</td>
<td>
<b>[Standard Stream Send]</b> "Message to send"<br><font color="red">Failed to send message on standard stream of external application.</font>
</td>
</tr>
<tr class="event-row">
<td><span class="badge log pass-bg">Pass</span></td>
<td>3:04:30 PM</td>
<td>
<b>[Wait]</b> 1000
</td>
</tr>
<tr class="event-row">
<td><span class="badge log fail-bg">Fail</span></td>
<td>3:04:30 PM</td>
<td>
<b>[Assert String]</b> mode = "equals", result = true, expected = "This is next message", case_sensitive = true, var_name = "module-1-last-msg"<br><font color="red">Assertion failed. <b>True</b> was expected as the result. Condition: (Value of variable <b>''</b> must equals expected text <b>'This is next message'</b>)</font>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li class="test-item" status="fail" test-id="3"
author=""
tag="Suitename1"
device="">
<div class="test-detail">
<p class="name">Case name 2</p>
<p class="text-sm">
<span>15:04:28 PM</span> / <span>00:00:00:000</span>
<span class="badge fail-bg log float-right">Fail</span>
</p>
</div>
<div class="test-contents d-none">
<div class="detail-head">
<div class="p-v-10">
<div class="info">
<h5 class="test-status text-fail">Case name 2</h5>
<span class='badge badge-success'>09.19.2024 15:04:28</span>
<span class='badge badge-danger'>09.19.2024 15:04:28</span>
<span class='badge badge-default'>00:00:00:000</span>
· <span class='uri-anchor badge badge-default'>#test-id=3</span>
</div>
<div class="m-t-15"><span class="badge badge-pill badge-default">Suitename1</span></div>
<div class="m-t-10 m-l-5">Description 2 here</div>
</div>
</div><div class="detail-body mt-4">
<table class="table table-sm">
<thead><tr><th class="status-col">Status</th><th class="timestamp-col">Timestamp</th><th class="details-col">Details</th></tr></thead>
<tbody>
<tr class="event-row">
<td><span class="badge log fail-bg">Fail</span></td>
<td>3:04:31 PM</td>
<td>
<b>[Standard Stream Send]</b> "This is next message"<br><font color="red">Failed to send message on standard stream of external application.</font>
</td>
</tr>
<tr class="event-row">
<td><span class="badge log pass-bg">Pass</span></td>
<td>3:04:32 PM</td>
<td>
<b>[Wait]</b> 1000
</td>
</tr>
<tr class="event-row">
<td><span class="badge log fail-bg">Fail</span></td>
<td>3:04:32 PM</td>
<td>
<b>[Assert String]</b> mode = "equals", result = true, expected = "This is next message", case_sensitive = true, var_name = "module-1-last-msg"<br><font color="red">Assertion failed. <b>True</b> was expected as the result. Condition: (Value of variable <b>''</b> must equals expected text <b>'This is next message'</b>)</font>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li class="test-item" status="fail" test-id="4"
author=""
tag=""
device="">
<div class="test-detail">
<p class="name">Result score</p>
<p class="text-sm">
<span>15:04:33 PM</span> / <span>00:00:00:000</span>
<span class="badge fail-bg log float-right">Fail</span>
</p>
</div>
<div class="test-contents d-none">
<div class="detail-head">
<div class="p-v-10">
<div class="info">
<h5 class="test-status text-fail">Result score</h5>
<span class='badge badge-success'>09.19.2024 15:04:33</span>
<span class='badge badge-danger'>09.19.2024 15:04:33</span>
<span class='badge badge-default'>00:00:00:000</span>
· <span class='uri-anchor badge badge-default'>#test-id=4</span>
</div>
<div class="m-t-10 m-l-5">This is not a test case. This is an informative page containing the final score of the tested application.</div>
</div>
</div><div class="detail-body mt-4">
<table class="table table-sm">
<thead><tr><th class="status-col">Status</th><th class="timestamp-col">Timestamp</th><th class="details-col">Details</th></tr></thead>
<tbody>
<tr class="event-row">
<td><span class="badge log fail-bg">Fail</span></td>
<td>3:04:33 PM</td>
<td>
Tested application for test suite 'Suite name 1' get 0.00 / 10.00 points
</td>
</tr>
<tr class="event-row">
<td><span class="badge log info-bg">Info</span></td>
<td>3:04:33 PM</td>
<td>
TOTAL SCORE: 0.00 / 10.00 points
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="test-content scrollable">
<div class="test-content-tools">
<ul><li><a class="back-to-test" href="#"><i class="fa fa-arrow-left"></i></a></li></ul>
</div>
<div class="test-content-detail"><div class="detail-body"></div></div>
</div></div>
<div class="test-wrapper row view category-view attributes-view">
<div class="test-list">
<div class="test-list-tools">
<ul class="tools pull-left"><li><a href=""><span class="font-size-14">Category</span></a></li></ul>
<ul class="tools text-right"><li><a href="#"><span class="badge badge-primary">1</span></a></li></ul>
</div>
<div class="test-list-wrapper scrollable">
<ul class="test-list-item">
<li class="test-item">
<div class="test-detail">
<span class="meta">
<span class='badge log badge-danger'>2</span>
</span>
<p class="name">Suitename1</p>
<p class="duration text-sm">2 tests</p>
</div>
<div class="test-contents d-none">
<div class="info">
<h4>Suitename1</h4>
<span status="fail" class='badge log badge-danger'>2 failed</span>
</div>
<table class='table table-sm mt-4'>
<thead>
<tr>
<th class="status-col">Status</th>
<th class="timestamp-col">Timestamp</th>
<th>TestName</th>
</tr>
</thead>
<tbody>
<tr class="tag-test-status" status="fail">
<td><span class="badge log fail-bg">Fail</span></td>
<td>15:04:28 PM</td>
<td>
<a href="#" class="linked" test-id='2' id='2'>Case name 1</a>
</td>
</tr>
<tr class="tag-test-status" status="fail">
<td><span class="badge log fail-bg">Fail</span></td>
<td>15:04:28 PM</td>
<td>
<a href="#" class="linked" test-id='3' id='3'>Case name 2</a>
</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</div>
</div>
<div class="test-content scrollable">
<div class="test-content-detail">
<div class="detail-body"></div>
</div>
</div>
</div><div class="container-fluid p-4 view dashboard-view">
<div class="row">
<div class="col-md-3">
<div class="card"><div class="card-body">
<p class="m-b-0">Started</p>
<h3>Sep 19, 2024 03:04:28 PM</h3>
</div></div>
</div>
<div class="col-md-3">
<div class="card"><div class="card-body">
<p class="m-b-0">Ended</p>
<h3>Sep 19, 2024 03:04:33 PM</h3>
</div></div>
</div>
<div class="col-md-3">
<div class="card"><div class="card-body">
<p class="m-b-0 text-pass">Tests Passed</p>
<h3>1</h3>
</div></div>
</div>
<div class="col-md-3">
<div class="card"><div class="card-body">
<p class="m-b-0 text-fail">Tests Failed</p>
<h3>3</h3>
</div></div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h6 class="card-title">Tests</h6>
</div>
<div class="card-body">
<div class="">
<canvas id='parent-analysis' width='115' height='90'></canvas>
</div>
</div>
<div class="card-footer">
<div><small data-tooltip='25%'>
<b>1</b> tests passed
</small>
</div>
<div>
<small data-tooltip='75%'><b>3</b> tests failed,
<b>0</b> skipped, <b data-tooltip='0%'>0</b> others
</small>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h6 class="card-title">Log events</h6>
</div>
<div class="card-body">
<div class="">
<canvas id='events-analysis' width='115' height='90'></canvas>
</div>
</div>
<div class="card-footer">
<div><small data-tooltip='45%'><b>5</b> events passed</small></div>
<div>
<small data-tooltip='45%'><b>5</b> events failed,
<b data-tooltip='%'>1</b> others
</small>
</div>
</div>
</div>
</div>
</div>
<div class="row"><div class="col-md-12">
<div class="card"><div class="card-header"><p>Timeline</p></div>
<div class="card-body pt-0"><div>
<canvas id="timeline" height="120"></canvas>
</div></div>
</div>
</div></div>
<script>
var timeline = {
"Test root initialization":0,"Case name 1":0,"Case name 2":0,"Result score":0
};
</script>
<div class="row">
<div class="col-md-4 category-container">
<div class="card">
<div class="card-header"><p>Tags</p></div>
<div class="card-body pb-0 pt-0"><table class="table table-sm table-bordered">
<thead><tr class="bg-gray"><th>Name</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>Others</th><th>Passed %</th></tr></thead><tbody>
<tr>
<td>Suitename1</td>
<td>0</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td>0%</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<script>
var statusGroup = {
parentCount: 5,
passParent: 1,
failParent: 3,
warningParent: 0,
skipParent: 0,
childCount: 5,
passChild: 0,
failChild: 0,
warningChild: 0,
skipChild: 0,
infoChild: 0,
grandChildCount: 5,
passGrandChild: 0,
failGrandChild: 0,
warningGrandChild: 0,
skipGrandChild: 0,
infoGrandChild: 0,
eventsCount: 5,
passEvents: 5,
failEvents: 5,
warningEvents: 0,
skipEvents: 0,
infoEvents: 1
};
</script> </div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@14e9bb345ef7e2ed3a102f271d84e9f0267c88e7/spark/js/spark-script.js"></script>
<script type="text/javascript"></script></body>
</html>