test-reporting 3.7.4__tar.gz → 3.7.6__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.
Files changed (21) hide show
  1. {test_reporting-3.7.4 → test_reporting-3.7.6}/PKG-INFO +1 -1
  2. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/templates/project.html +16 -5
  3. {test_reporting-3.7.4 → test_reporting-3.7.6}/setup.py +1 -1
  4. {test_reporting-3.7.4 → test_reporting-3.7.6}/test_reporting.egg-info/PKG-INFO +1 -1
  5. {test_reporting-3.7.4 → test_reporting-3.7.6}/LICENSE +0 -0
  6. {test_reporting-3.7.4 → test_reporting-3.7.6}/README.md +0 -0
  7. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/__init__.py +0 -0
  8. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/classifier.py +0 -0
  9. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/cli.py +0 -0
  10. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/config.py +0 -0
  11. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/plugin.py +0 -0
  12. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/publisher.py +0 -0
  13. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/storage.py +0 -0
  14. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/templates/index.html +0 -0
  15. {test_reporting-3.7.4 → test_reporting-3.7.6}/reporting/templates/run.html +0 -0
  16. {test_reporting-3.7.4 → test_reporting-3.7.6}/setup.cfg +0 -0
  17. {test_reporting-3.7.4 → test_reporting-3.7.6}/test_reporting.egg-info/SOURCES.txt +0 -0
  18. {test_reporting-3.7.4 → test_reporting-3.7.6}/test_reporting.egg-info/dependency_links.txt +0 -0
  19. {test_reporting-3.7.4 → test_reporting-3.7.6}/test_reporting.egg-info/entry_points.txt +0 -0
  20. {test_reporting-3.7.4 → test_reporting-3.7.6}/test_reporting.egg-info/requires.txt +0 -0
  21. {test_reporting-3.7.4 → test_reporting-3.7.6}/test_reporting.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: test-reporting
3
- Version: 3.7.4
3
+ Version: 3.7.6
4
4
  Summary: Multi-project test reporting dashboard — collect results locally or push to S3
5
5
  Home-page: https://github.com/amahdy77/test-reporting.git
6
6
  Author: Ashfaqur Mahdy
@@ -599,8 +599,9 @@
599
599
  }).join('');
600
600
 
601
601
  const isOpen = i === 0;
602
- const regDateTime = reg.timestamp ? fmtDateTime(reg.timestamp) : '';
603
- const regTitle = regDateTime ? reg.tag + ' · ' + regDateTime : reg.tag;
602
+ // If tag looks like a date (YYYY-MM-DD), show datetime. Otherwise show tag as-is.
603
+ const isDateTag = /^\d{4}-\d{2}-\d{2}$/.test(reg.tag);
604
+ const regTitle = isDateTag && reg.timestamp ? fmtDateTime(reg.timestamp) : reg.tag;
604
605
  const uniqueSuiteCount = sortedSuites.length;
605
606
  return '<div class="regression">' +
606
607
  '<div class="reg-head" onclick="toggleReg(this)">' +
@@ -1119,9 +1120,19 @@
1119
1120
  if (fileNameCell) {
1120
1121
  const fileName = fileNameCell.textContent.toLowerCase();
1121
1122
  const tag = tagCell ? tagCell.textContent.toLowerCase() : '';
1122
- // Match if search term is in file name OR tag
1123
- const combinedText = fileName + ' ' + tag;
1124
- if (combinedText.includes(searchTerm)) {
1123
+
1124
+ // Split search term into parts (filename and optional tag)
1125
+ const searchParts = searchTerm.split(/\s+/);
1126
+
1127
+ // Check if all search parts match (in filename or tag)
1128
+ // Normalize both hyphens and underscores for flexible matching
1129
+ const allMatch = searchParts.every(function(part) {
1130
+ const normalizedPart = part.replace(/[-_]/g, '[-_]');
1131
+ const regex = new RegExp(normalizedPart);
1132
+ return regex.test(fileName) || regex.test(tag);
1133
+ });
1134
+
1135
+ if (allMatch) {
1125
1136
  row.style.display = '';
1126
1137
  visibleCount++;
1127
1138
  } else {
@@ -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.7.4',
12
+ version='3.7.6',
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",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: test-reporting
3
- Version: 3.7.4
3
+ Version: 3.7.6
4
4
  Summary: Multi-project test reporting dashboard — collect results locally or push to S3
5
5
  Home-page: https://github.com/amahdy77/test-reporting.git
6
6
  Author: Ashfaqur Mahdy
File without changes
File without changes
File without changes