mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-17 20:05:58 +00:00
Restore filmstrip feature, fix server crash, and rename Grade label
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
<div class="gtmetrix-dashboard">
|
||||
<!-- Grade Section -->
|
||||
<div class="dashboard-card grade-card">
|
||||
<h3>GTmetrix Grade</h3>
|
||||
<h3>Grade</h3>
|
||||
<div class="grade-container">
|
||||
<div id="overall-grade" class="grade-circle">
|
||||
<span class="grade-letter">-</span>
|
||||
|
||||
@@ -147,6 +147,9 @@ async function _executeTest(url, options) {
|
||||
|
||||
// Prepare JSON Summary
|
||||
const lhr = runnerResult.lhr;
|
||||
|
||||
|
||||
|
||||
const summary = {
|
||||
id: testId,
|
||||
url: lhr.finalUrl,
|
||||
@@ -166,7 +169,6 @@ async function _executeTest(url, options) {
|
||||
isMobile: isMobile,
|
||||
filmstrip: captureFilmstrip ? (lhr.audits['screenshot-thumbnails']?.details?.items || []) : []
|
||||
};
|
||||
};
|
||||
|
||||
// Save JSON Summary
|
||||
const jsonPath = path.join(reportDir, `${testId}.json`);
|
||||
|
||||
Reference in New Issue
Block a user