From 097109b3e949d17bdd045cf740f7b69779bcd034 Mon Sep 17 00:00:00 2001 From: DeNNiiInc Date: Sun, 28 Dec 2025 21:22:41 +1100 Subject: [PATCH] Refactor: Remove multi-run option from UI and logic --- index.html | 25 +------------------------ main.js | 13 ++----------- 2 files changed, 3 insertions(+), 35 deletions(-) diff --git a/index.html b/index.html index be5f723..7eca363 100644 --- a/index.html +++ b/index.html @@ -63,22 +63,6 @@ -
-
- - -

- Multiple runs provide more reliable median results -

-
-
- -
diff --git a/main.js b/main.js index 93276b4..11a6346 100644 --- a/main.js +++ b/main.js @@ -69,7 +69,7 @@ async function runTest() { body: JSON.stringify({ url: url, isMobile: currentDevice === 'mobile', - runs: parseInt(document.getElementById('run-count').value), + runs: 1, captureFilmstrip: captureFilmstrip }) }); @@ -77,16 +77,7 @@ async function runTest() { if (!response.ok) throw new Error('Test failed to start'); const data = await response.json(); - // Handle multi-run immediate response - if (data.status === 'running' && data.suiteId) { - // Show progress for multi-run - document.getElementById('multi-run-progress').style.display = 'block'; - pollSuiteStatus(data.suiteId, data.runs); - // Clear previous single result if any - document.getElementById('results-area').classList.remove('visible'); - } else { - displayResults(data); - } + displayResults(data); loadHistory(); // Refresh history