@arghajit/dummy 0.1.0-beta-29 → 0.1.1

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arghajit/dummy",
3
3
  "author": "Arghajit Singha",
4
- "version": "0.1.0-beta-29",
4
+ "version": "0.1.1",
5
5
  "description": "A Playwright reporter and dashboard for visualizing test results.",
6
6
  "homepage": "https://playwright-pulse-report.netlify.app/",
7
7
  "keywords": [
@@ -1773,19 +1773,6 @@ function generateAIFailureAnalyzerTab(results) {
1773
1773
  })
1774
1774
  .join("")}
1775
1775
  </div>
1776
-
1777
- <!-- AI Fix Modal -->
1778
- <div id="ai-fix-modal" class="ai-modal-overlay" onclick="closeAiModal()">
1779
- <div class="ai-modal-content" onclick="event.stopPropagation()">
1780
- <div class="ai-modal-header">
1781
- <h3 id="ai-fix-modal-title">AI Analysis</h3>
1782
- <span class="ai-modal-close" onclick="closeAiModal()">×</span>
1783
- </div>
1784
- <div class="ai-modal-body" id="ai-fix-modal-content">
1785
- <!-- Content will be injected by JavaScript -->
1786
- </div>
1787
- </div>
1788
- </div>
1789
1776
  `;
1790
1777
  }
1791
1778
  /**
@@ -2403,6 +2390,7 @@ aspect-ratio: 16 / 9;
2403
2390
  .attachment-caption { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-grow: 1; }
2404
2391
  .attachment-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
2405
2392
  .attachment-type { font-size: 0.8rem; color: var(--text-color-secondary); }
2393
+ .footer-text { color: white }
2406
2394
  </style>
2407
2395
  </head>
2408
2396
  <body>
@@ -2482,8 +2470,18 @@ aspect-ratio: 16 / 9;
2482
2470
  .join("")}</select>
2483
2471
  <button id="expand-all-tests">Expand All</button> <button id="collapse-all-tests">Collapse All</button> <button id="clear-run-summary-filters" class="clear-filters-btn">Clear Filters</button>
2484
2472
  </div>
2485
- <div class="test-cases-list">${generateTestCasesHTML(results.slice(0, 50), 0)}</div>
2486
- ${results.length > 50 ? `<div class="load-more-wrapper"><button id="load-more-tests">Load more</button></div><script type="application/json" id="remaining-tests-b64">${Buffer.from(generateTestCasesHTML(results.slice(50), 50), 'utf8').toString('base64')}</script>` : ``}
2473
+ <div class="test-cases-list">${generateTestCasesHTML(
2474
+ results.slice(0, 50),
2475
+ 0
2476
+ )}</div>
2477
+ ${
2478
+ results.length > 50
2479
+ ? `<div class="load-more-wrapper"><button id="load-more-tests">Load more</button></div><script type="application/json" id="remaining-tests-b64">${Buffer.from(
2480
+ generateTestCasesHTML(results.slice(50), 50),
2481
+ "utf8"
2482
+ ).toString("base64")}</script>`
2483
+ : ``
2484
+ }
2487
2485
  </div>
2488
2486
  <div id="test-history" class="tab-content">
2489
2487
  <h2 class="tab-main-title">Execution Trends</h2>
@@ -2523,7 +2521,7 @@ aspect-ratio: 16 / 9;
2523
2521
  </div>
2524
2522
  <footer style="padding: 0.5rem; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); text-align: center; font-family: 'Segoe UI', system-ui, sans-serif;">
2525
2523
  <div style="display: inline-flex; align-items: center; gap: 0.5rem; color: #333; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.5px;">
2526
- <span>Created by</span>
2524
+ <span class="footer-text">Created by</span>
2527
2525
  <a href="https://github.com/Arghajit47" target="_blank" rel="noopener noreferrer" style="color: #7737BF; font-weight: 700; font-style: italic; text-decoration: none; transition: all 0.2s ease;" onmouseover="this.style.color='#BF5C37'" onmouseout="this.style.color='#7737BF'">Arghajit Singha</a>
2528
2526
  </div>
2529
2527
  <div style="margin-top: 0.5rem; font-size: 0.75rem; color: #666;">Crafted with precision</div>
@@ -2559,6 +2557,7 @@ aspect-ratio: 16 / 9;
2559
2557
  const modalTitle = document.getElementById('ai-fix-modal-title');
2560
2558
 
2561
2559
  modal.style.display = 'flex';
2560
+ document.body.style.setProperty('overflow', 'hidden', 'important');
2562
2561
  modalTitle.textContent = 'Analyzing...';
2563
2562
  modalContent.innerHTML = '<div class="ai-loader"></div>';
2564
2563
 
@@ -2655,6 +2654,7 @@ aspect-ratio: 16 / 9;
2655
2654
  function closeAiModal() {
2656
2655
  const modal = document.getElementById('ai-fix-modal');
2657
2656
  if(modal) modal.style.display = 'none';
2657
+ document.body.style.setProperty('overflow', '', 'important');
2658
2658
  }
2659
2659
 
2660
2660
  function toggleErrorDetails(button) {
@@ -2940,6 +2940,20 @@ aspect-ratio: 16 / 9;
2940
2940
  });
2941
2941
  }
2942
2942
  </script>
2943
+
2944
+ <!-- AI Fix Modal -->
2945
+ <div id="ai-fix-modal" class="ai-modal-overlay" onclick="closeAiModal()">
2946
+ <div class="ai-modal-content" onclick="event.stopPropagation()">
2947
+ <div class="ai-modal-header">
2948
+ <h3 id="ai-fix-modal-title">AI Analysis</h3>
2949
+ <span class="ai-modal-close" onclick="closeAiModal()">×</span>
2950
+ </div>
2951
+ <div class="ai-modal-body" id="ai-fix-modal-content">
2952
+ <!-- Content will be injected by JavaScript -->
2953
+ </div>
2954
+ </div>
2955
+ </div>
2956
+
2943
2957
  </body>
2944
2958
  </html>
2945
2959
  `;