test-reporting 3.0.1__tar.gz → 3.0.2__tar.gz
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.
- {test_reporting-3.0.1 → test_reporting-3.0.2}/PKG-INFO +1 -1
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/templates/project.html +8 -6
- {test_reporting-3.0.1 → test_reporting-3.0.2}/setup.py +1 -1
- {test_reporting-3.0.1 → test_reporting-3.0.2}/test_reporting.egg-info/PKG-INFO +1 -1
- {test_reporting-3.0.1 → test_reporting-3.0.2}/LICENSE +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/README.md +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/__init__.py +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/classifier.py +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/cli.py +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/config.py +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/plugin.py +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/publisher.py +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/storage.py +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/templates/index.html +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/reporting/templates/run.html +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/setup.cfg +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/test_reporting.egg-info/SOURCES.txt +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/test_reporting.egg-info/dependency_links.txt +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/test_reporting.egg-info/entry_points.txt +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/test_reporting.egg-info/requires.txt +0 -0
- {test_reporting-3.0.1 → test_reporting-3.0.2}/test_reporting.egg-info/top_level.txt +0 -0
|
@@ -273,10 +273,10 @@
|
|
|
273
273
|
</div>
|
|
274
274
|
<div class="reg-right">
|
|
275
275
|
<span class="${rc2}">${reg.pass_rate.toFixed(0)}% passing</span>
|
|
276
|
-
<span class="chevron ${isOpen ? 'open'}">▼</span>
|
|
276
|
+
<span class="chevron ${isOpen ? 'open' : ''}">▼</span>
|
|
277
277
|
</div>
|
|
278
278
|
</div>
|
|
279
|
-
<div class="reg-body ${isOpen ? 'open'}">${suiteRows}</div>
|
|
279
|
+
<div class="reg-body ${isOpen ? 'open' : ''}">${suiteRows}</div>
|
|
280
280
|
</div>`;
|
|
281
281
|
}).join('');
|
|
282
282
|
|
|
@@ -477,16 +477,18 @@
|
|
|
477
477
|
HISTORY TAB
|
|
478
478
|
═══════════════════════════════════════════════════ */
|
|
479
479
|
|
|
480
|
-
let activeSuite
|
|
480
|
+
let activeSuite = null;
|
|
481
|
+
let _suitesCache = {}; // module-level store so onclick handlers don't inline JSON
|
|
481
482
|
|
|
482
483
|
function renderHistory(suites) {
|
|
484
|
+
_suitesCache = suites;
|
|
483
485
|
const names = Object.keys(suites);
|
|
484
486
|
if (names.length === 0) return '<p class="empty-section">No run history yet.</p>';
|
|
485
487
|
if (!activeSuite || !suites[activeSuite]) activeSuite = names[0];
|
|
486
488
|
|
|
487
489
|
const tabBtns = names.map(n =>
|
|
488
490
|
`<button class="tab-btn ${n === activeSuite ? 'active' : ''}"
|
|
489
|
-
onclick="switchSuiteTab(
|
|
491
|
+
onclick="switchSuiteTab(${JSON.stringify(n)}, this)">
|
|
490
492
|
${n}
|
|
491
493
|
</button>`).join('');
|
|
492
494
|
|
|
@@ -525,11 +527,11 @@
|
|
|
525
527
|
</div>`;
|
|
526
528
|
}
|
|
527
529
|
|
|
528
|
-
function switchSuiteTab(name, btn
|
|
530
|
+
function switchSuiteTab(name, btn) {
|
|
529
531
|
activeSuite = name;
|
|
530
532
|
btn.closest('.tab-bar').querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
|
|
531
533
|
btn.classList.add('active');
|
|
532
|
-
document.getElementById('suiteHistoryBody').innerHTML = renderSuiteRuns(
|
|
534
|
+
document.getElementById('suiteHistoryBody').innerHTML = renderSuiteRuns(_suitesCache[name]);
|
|
533
535
|
}
|
|
534
536
|
|
|
535
537
|
/* ═══════════════════════════════════════════════════
|
|
@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
9
9
|
|
|
10
10
|
setup(
|
|
11
11
|
name='test-reporting',
|
|
12
|
-
version='3.0.
|
|
12
|
+
version='3.0.2',
|
|
13
13
|
description='Multi-project test reporting dashboard — collect results locally or push to S3',
|
|
14
14
|
long_description=long_description,
|
|
15
15
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|