codecraftai-integration-runtime 1.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccai/integrationruntime/__init__.py +27 -0
- ccai/integrationruntime/entrypoints.py +59 -0
- ccai/integrationruntime/initialize.py +100 -0
- ccai/integrationruntime/integratedtestjob.py +100 -0
- ccai/integrationruntime/integrationruntimedefaulttypefactory.py +51 -0
- ccai/integrationruntime/py.typed +0 -0
- ccai/integrationruntime/results/__init__.py +13 -0
- ccai/integrationruntime/results/concentrators/__init__.py +13 -0
- ccai/integrationruntime/results/concentrators/progressconcentratorservice.py +526 -0
- ccai/integrationruntime/results/recorders/__init__.py +22 -0
- ccai/integrationruntime/results/recorders/integrationjsonresultrecorder.py +126 -0
- ccai/integrationruntime/results/recorders/streamingresultrecorder.py +271 -0
- ccai/integrationruntime/results/streaming/__init__.py +25 -0
- ccai/integrationruntime/results/streaming/resultstreamer.py +581 -0
- ccai/integrationruntime/runtimeoutputcontext.py +68 -0
- ccai/integrationruntime/runtimerunmetadata.py +165 -0
- ccai/integrationruntime/templates/v2/static/images/test-report-banner-background-image.png +0 -0
- ccai/integrationruntime/templates/v2/static/javascript/d3.v7.js +20625 -0
- ccai/integrationruntime/templates/v2/static/javascript/icon-components.js +510 -0
- ccai/integrationruntime/templates/v2/static/javascript/mojo-components.js +1417 -0
- ccai/integrationruntime/templates/v2/static/javascript/prism.js +1789 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-accessibility.js +704 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-comparison.js +1287 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-components.js +3499 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-helpers.js +426 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-responsive.js +493 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary.js +1128 -0
- ccai/integrationruntime/templates/v2/static/javascript/webcomponent-helpers.js +112 -0
- ccai/integrationruntime/templates/v2/static/styles/branding-theme.css +144 -0
- ccai/integrationruntime/templates/v2/static/styles/icon-styles.css +9 -0
- ccai/integrationruntime/templates/v2/static/styles/mojo-components.css +384 -0
- ccai/integrationruntime/templates/v2/static/styles/prism.css +143 -0
- ccai/integrationruntime/templates/v2/static/styles/tabs-responsive.css +186 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary-accessibility.css +413 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary-comparison.css +746 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary-responsive.css +679 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary.css +1631 -0
- ccai/integrationruntime/templates/v2/tabs/tab-data.html +870 -0
- ccai/integrationruntime/templates/v2/tabs/tab-images.html +110 -0
- ccai/integrationruntime/templates/v2/tabs/tab-logs.html +594 -0
- ccai/integrationruntime/templates/v2/tabs/tab-sounds.html +112 -0
- ccai/integrationruntime/templates/v2/tabs/tab-timeseries.html +368 -0
- ccai/integrationruntime/templates/v2/tabs/tab-videos.html +372 -0
- ccai/integrationruntime/templates/v2/testsummary.html +81 -0
- codecraftai_integration_runtime-1.3.0.dist-info/METADATA +73 -0
- codecraftai_integration_runtime-1.3.0.dist-info/RECORD +48 -0
- codecraftai_integration_runtime-1.3.0.dist-info/WHEEL +4 -0
- codecraftai_integration_runtime-1.3.0.dist-info/licenses/LICENSE.md +204 -0
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
/* =======================================================================
|
|
2
|
+
Author: "Myron Walker"
|
|
3
|
+
Copyright: "Copyright 2024, Myron W Walker"
|
|
4
|
+
Version: = "2.0.0"
|
|
5
|
+
Email: myron.walker@gmail.com
|
|
6
|
+
|
|
7
|
+
Accessibility Styles for TestSummary HTML Report
|
|
8
|
+
Provides enhanced focus indicators, screen reader utilities,
|
|
9
|
+
and keyboard navigation support.
|
|
10
|
+
=======================================================================*/
|
|
11
|
+
|
|
12
|
+
/* =======================================================================
|
|
13
|
+
SKIP LINK STYLES
|
|
14
|
+
=======================================================================*/
|
|
15
|
+
|
|
16
|
+
.skip-link {
|
|
17
|
+
position: absolute;
|
|
18
|
+
top: -40px;
|
|
19
|
+
left: 0;
|
|
20
|
+
background-color: #000;
|
|
21
|
+
color: #fff;
|
|
22
|
+
padding: 8px 16px;
|
|
23
|
+
z-index: 10000;
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
font-weight: bold;
|
|
26
|
+
border-radius: 0 0 4px 0;
|
|
27
|
+
transition: top 0.3s ease;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.skip-link:focus {
|
|
31
|
+
top: 0;
|
|
32
|
+
outline: 3px solid #ffcc00;
|
|
33
|
+
outline-offset: 2px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* =======================================================================
|
|
37
|
+
SCREEN READER ONLY UTILITIES
|
|
38
|
+
=======================================================================*/
|
|
39
|
+
|
|
40
|
+
.sr-only {
|
|
41
|
+
position: absolute;
|
|
42
|
+
width: 1px;
|
|
43
|
+
height: 1px;
|
|
44
|
+
padding: 0;
|
|
45
|
+
margin: -1px;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
clip: rect(0, 0, 0, 0);
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
border: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sr-only-focusable:focus,
|
|
53
|
+
.sr-only-focusable:active {
|
|
54
|
+
position: static;
|
|
55
|
+
width: auto;
|
|
56
|
+
height: auto;
|
|
57
|
+
overflow: visible;
|
|
58
|
+
clip: auto;
|
|
59
|
+
white-space: normal;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* =======================================================================
|
|
63
|
+
KEYBOARD NAVIGATION FOCUS STYLES
|
|
64
|
+
=======================================================================*/
|
|
65
|
+
|
|
66
|
+
/* Enhanced focus indicators when using keyboard navigation */
|
|
67
|
+
.keyboard-navigation *:focus {
|
|
68
|
+
outline: 3px solid #005fcc !important;
|
|
69
|
+
outline-offset: 2px !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.keyboard-navigation *:focus:not(:focus-visible) {
|
|
73
|
+
outline: none !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Focus visible polyfill support */
|
|
77
|
+
*:focus-visible {
|
|
78
|
+
outline: 3px solid #005fcc;
|
|
79
|
+
outline-offset: 2px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Remove default focus outline for mouse users */
|
|
83
|
+
*:focus:not(:focus-visible) {
|
|
84
|
+
outline: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* =======================================================================
|
|
88
|
+
INTERACTIVE ELEMENT FOCUS STYLES
|
|
89
|
+
=======================================================================*/
|
|
90
|
+
|
|
91
|
+
/* Buttons */
|
|
92
|
+
button:focus-visible,
|
|
93
|
+
.ts-filter-btn:focus-visible,
|
|
94
|
+
.ts-export-btn:focus-visible,
|
|
95
|
+
.ts-date-clear:focus-visible,
|
|
96
|
+
.ts-search-clear:focus-visible {
|
|
97
|
+
outline: 3px solid #005fcc;
|
|
98
|
+
outline-offset: 2px;
|
|
99
|
+
box-shadow: 0 0 0 4px rgba(0, 95, 204, 0.25);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Links */
|
|
103
|
+
a:focus-visible {
|
|
104
|
+
outline: 3px solid #005fcc;
|
|
105
|
+
outline-offset: 2px;
|
|
106
|
+
text-decoration: underline;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Form inputs */
|
|
110
|
+
input:focus-visible,
|
|
111
|
+
select:focus-visible,
|
|
112
|
+
textarea:focus-visible {
|
|
113
|
+
outline: 3px solid #005fcc;
|
|
114
|
+
outline-offset: 0;
|
|
115
|
+
border-color: #005fcc;
|
|
116
|
+
box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.25);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Details/Summary elements */
|
|
120
|
+
summary:focus-visible {
|
|
121
|
+
outline: 3px solid #005fcc;
|
|
122
|
+
outline-offset: 2px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
details[open] > summary:focus-visible {
|
|
126
|
+
outline: 3px solid #005fcc;
|
|
127
|
+
outline-offset: 2px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* =======================================================================
|
|
131
|
+
COLLAPSIBLE COMPONENT FOCUS STYLES
|
|
132
|
+
=======================================================================*/
|
|
133
|
+
|
|
134
|
+
.mojo-collapsible-button:focus-visible,
|
|
135
|
+
.mojo-collapsible-lvl2-button:focus-visible,
|
|
136
|
+
.mojo-collapsible-lvl3-button:focus-visible {
|
|
137
|
+
outline: 3px solid #005fcc;
|
|
138
|
+
outline-offset: 2px;
|
|
139
|
+
background-color: #d0d0d0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ts-errors-collapsible-button:focus-visible,
|
|
143
|
+
.ts-failures-collapsible-button:focus-visible,
|
|
144
|
+
.ts-importfailure-trace-button:focus-visible {
|
|
145
|
+
outline: 3px solid #ffcc00;
|
|
146
|
+
outline-offset: 2px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* =======================================================================
|
|
150
|
+
TAB COMPONENT FOCUS STYLES
|
|
151
|
+
=======================================================================*/
|
|
152
|
+
|
|
153
|
+
.mojo-tab-label:focus-visible {
|
|
154
|
+
outline: 3px solid #005fcc;
|
|
155
|
+
outline-offset: 2px;
|
|
156
|
+
background-color: rgba(0, 95, 204, 0.1);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.mojo-tab-label[aria-selected="true"]:focus-visible {
|
|
160
|
+
outline: 3px solid #005fcc;
|
|
161
|
+
outline-offset: 2px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* =======================================================================
|
|
165
|
+
ICON TARGET FOCUS STYLES
|
|
166
|
+
=======================================================================*/
|
|
167
|
+
|
|
168
|
+
.mojo-icon-target:focus-visible {
|
|
169
|
+
outline: 3px solid #005fcc;
|
|
170
|
+
outline-offset: 2px;
|
|
171
|
+
border-radius: 4px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* =======================================================================
|
|
175
|
+
PROPERTY COMPONENT FOCUS STYLES
|
|
176
|
+
=======================================================================*/
|
|
177
|
+
|
|
178
|
+
.mojo-prop-single-copy:focus-visible,
|
|
179
|
+
.mojo-prop-table-item-copy:focus-visible {
|
|
180
|
+
outline: 3px solid #005fcc;
|
|
181
|
+
outline-offset: 2px;
|
|
182
|
+
background-color: rgba(0, 95, 204, 0.1);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* =======================================================================
|
|
186
|
+
RESULT ITEM FOCUS STYLES
|
|
187
|
+
=======================================================================*/
|
|
188
|
+
|
|
189
|
+
testsummary-resultgroup:focus-within,
|
|
190
|
+
testsummary-resultitem:focus-within,
|
|
191
|
+
testsummary-taskgroup:focus-within,
|
|
192
|
+
testsummary-taskresult:focus-within {
|
|
193
|
+
outline: 2px solid #005fcc;
|
|
194
|
+
outline-offset: 2px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* =======================================================================
|
|
198
|
+
HIGH CONTRAST MODE SUPPORT
|
|
199
|
+
=======================================================================*/
|
|
200
|
+
|
|
201
|
+
@media (prefers-contrast: high) {
|
|
202
|
+
.skip-link:focus {
|
|
203
|
+
outline: 4px solid #fff;
|
|
204
|
+
background-color: #000;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
*:focus-visible {
|
|
208
|
+
outline: 4px solid currentColor !important;
|
|
209
|
+
outline-offset: 3px !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ts-filter-btn {
|
|
213
|
+
border-width: 3px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.ts-filter-btn-active {
|
|
217
|
+
border-width: 4px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.color-pass {
|
|
221
|
+
color: #006400 !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.color-fail {
|
|
225
|
+
color: #8b0000 !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.color-error {
|
|
229
|
+
color: #4a0000 !important;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.color-skip {
|
|
233
|
+
color: #404040 !important;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/* =======================================================================
|
|
238
|
+
REDUCED MOTION SUPPORT
|
|
239
|
+
=======================================================================*/
|
|
240
|
+
|
|
241
|
+
@media (prefers-reduced-motion: reduce) {
|
|
242
|
+
.skip-link {
|
|
243
|
+
transition: none;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
*,
|
|
247
|
+
*::before,
|
|
248
|
+
*::after {
|
|
249
|
+
animation-duration: 0.01ms !important;
|
|
250
|
+
animation-iteration-count: 1 !important;
|
|
251
|
+
transition-duration: 0.01ms !important;
|
|
252
|
+
scroll-behavior: auto !important;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* =======================================================================
|
|
257
|
+
ARIA LIVE REGION STYLES
|
|
258
|
+
=======================================================================*/
|
|
259
|
+
|
|
260
|
+
#aria-live-region {
|
|
261
|
+
position: absolute;
|
|
262
|
+
width: 1px;
|
|
263
|
+
height: 1px;
|
|
264
|
+
padding: 0;
|
|
265
|
+
margin: -1px;
|
|
266
|
+
overflow: hidden;
|
|
267
|
+
clip: rect(0, 0, 0, 0);
|
|
268
|
+
white-space: nowrap;
|
|
269
|
+
border: 0;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* =======================================================================
|
|
273
|
+
LANDMARK REGION VISUAL INDICATORS
|
|
274
|
+
=======================================================================*/
|
|
275
|
+
|
|
276
|
+
/* Optional: Visual indicators for landmark regions during development */
|
|
277
|
+
[role="banner"],
|
|
278
|
+
[role="main"],
|
|
279
|
+
[role="contentinfo"],
|
|
280
|
+
[role="navigation"],
|
|
281
|
+
[role="region"] {
|
|
282
|
+
/* Uncomment for debugging:
|
|
283
|
+
outline: 1px dashed rgba(0, 0, 255, 0.3);
|
|
284
|
+
*/
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* =======================================================================
|
|
288
|
+
TOOLTIP ACCESSIBILITY
|
|
289
|
+
=======================================================================*/
|
|
290
|
+
|
|
291
|
+
.mojo-tooltip-text {
|
|
292
|
+
/* Ensure tooltips are accessible */
|
|
293
|
+
font-size: 14px;
|
|
294
|
+
line-height: 1.4;
|
|
295
|
+
max-width: 300px;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* Show tooltip on focus for keyboard users */
|
|
299
|
+
.mojo-icon-target:focus-visible .mojo-tooltip-text {
|
|
300
|
+
visibility: visible;
|
|
301
|
+
opacity: 1;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* =======================================================================
|
|
305
|
+
FORM LABEL ASSOCIATIONS
|
|
306
|
+
=======================================================================*/
|
|
307
|
+
|
|
308
|
+
/* Ensure labels are visually associated with inputs */
|
|
309
|
+
.ts-display-mode-selector label,
|
|
310
|
+
.ts-date-label {
|
|
311
|
+
cursor: pointer;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.ts-display-mode-selector label:hover,
|
|
315
|
+
.ts-date-label:hover {
|
|
316
|
+
text-decoration: underline;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* =======================================================================
|
|
320
|
+
BUTTON STATE INDICATORS
|
|
321
|
+
=======================================================================*/
|
|
322
|
+
|
|
323
|
+
/* Ensure button states are clearly indicated */
|
|
324
|
+
.ts-filter-btn[aria-pressed="true"] {
|
|
325
|
+
font-weight: bold;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.ts-filter-btn[aria-pressed="true"]::before {
|
|
329
|
+
content: "✓ ";
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* =======================================================================
|
|
333
|
+
EXPANDED/COLLAPSED STATE INDICATORS
|
|
334
|
+
=======================================================================*/
|
|
335
|
+
|
|
336
|
+
[aria-expanded="true"] .mojo-collapsible-icon,
|
|
337
|
+
[aria-expanded="true"] .mojo-collapsible-lvl2-icon,
|
|
338
|
+
[aria-expanded="true"] .mojo-collapsible-lvl3-icon {
|
|
339
|
+
transform: rotate(45deg);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
[aria-expanded="false"] .mojo-collapsible-icon,
|
|
343
|
+
[aria-expanded="false"] .mojo-collapsible-lvl2-icon,
|
|
344
|
+
[aria-expanded="false"] .mojo-collapsible-lvl3-icon {
|
|
345
|
+
transform: rotate(0deg);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/* =======================================================================
|
|
349
|
+
MINIMUM TARGET SIZE
|
|
350
|
+
=======================================================================*/
|
|
351
|
+
|
|
352
|
+
/* Ensure interactive elements meet minimum touch target size (44x44px) */
|
|
353
|
+
.ts-filter-btn,
|
|
354
|
+
.ts-export-btn,
|
|
355
|
+
.ts-date-clear,
|
|
356
|
+
.ts-search-clear,
|
|
357
|
+
.mojo-icon-target,
|
|
358
|
+
.mojo-prop-single-copy,
|
|
359
|
+
.mojo-prop-table-item-copy {
|
|
360
|
+
min-width: 44px;
|
|
361
|
+
min-height: 44px;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/* =======================================================================
|
|
365
|
+
COLOR CONTRAST ENHANCEMENTS
|
|
366
|
+
=======================================================================*/
|
|
367
|
+
|
|
368
|
+
/* Ensure sufficient color contrast for text */
|
|
369
|
+
.ts-filter-summary {
|
|
370
|
+
color: #333;
|
|
371
|
+
background-color: #e8e8e8;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.ts-timeline-duration-text {
|
|
375
|
+
color: #000;
|
|
376
|
+
text-shadow: 0 0 2px #fff;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/* =======================================================================
|
|
380
|
+
PRINT ACCESSIBILITY
|
|
381
|
+
=======================================================================*/
|
|
382
|
+
|
|
383
|
+
@media print {
|
|
384
|
+
.skip-link,
|
|
385
|
+
#aria-live-region {
|
|
386
|
+
display: none !important;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* Ensure colors print correctly */
|
|
390
|
+
.color-pass {
|
|
391
|
+
color: #006400 !important;
|
|
392
|
+
-webkit-print-color-adjust: exact;
|
|
393
|
+
print-color-adjust: exact;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.color-fail {
|
|
397
|
+
color: #8b0000 !important;
|
|
398
|
+
-webkit-print-color-adjust: exact;
|
|
399
|
+
print-color-adjust: exact;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.color-error {
|
|
403
|
+
color: #4a0000 !important;
|
|
404
|
+
-webkit-print-color-adjust: exact;
|
|
405
|
+
print-color-adjust: exact;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.color-skip {
|
|
409
|
+
color: #666 !important;
|
|
410
|
+
-webkit-print-color-adjust: exact;
|
|
411
|
+
print-color-adjust: exact;
|
|
412
|
+
}
|
|
413
|
+
}
|