fix unused id in test
Sonarqube Scanner / Build and analyze (push) Successful in 1m21s

This commit is contained in:
Florian Zumpe
2026-09-27 20:45:05 +02:00
parent bd13a479b1
commit 8b7f801d4a
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -113,7 +113,7 @@
<p id="storage-cleanup-status" class="storage-cleanup-status" hidden></p> <p id="storage-cleanup-status" class="storage-cleanup-status" hidden></p>
<progress id="bootstrap-progress" class="bootstrap-state-model" max="7" value="0" hidden></progress> <progress id="bootstrap-progress" class="bootstrap-state-model" max="7" value="0" hidden></progress>
<ol id="bootstrap-steps" class="bootstrap-state-model" hidden> <ol class="bootstrap-state-model" hidden>
<li data-step="storage">Lokalen Speicher prüfen</li> <li data-step="storage">Lokalen Speicher prüfen</li>
<li data-step="jquery">jQuery laden</li> <li data-step="jquery">jQuery laden</li>
<li data-step="jquery-ui">jQuery UI laden</li> <li data-step="jquery-ui">jQuery UI laden</li>
+6 -1
View File
@@ -135,7 +135,12 @@
setStatusText('Vorbereitung abgeschlossen.'); setStatusText('Vorbereitung abgeschlossen.');
actionStatus?.classList.add('is-leaving'); actionStatus?.classList.add('is-leaving');
enter.hidden = false; enter.hidden = false;
globalThis.requestAnimationFrame(() => enter.classList.add('is-visible')); const showEnter = () => enter.classList.add('is-visible');
if (typeof globalThis.requestAnimationFrame === 'function') {
globalThis.requestAnimationFrame(showEnter);
} else {
globalThis.setTimeout(showEnter, 0);
}
globalThis.setTimeout(() => { globalThis.setTimeout(() => {
if (actionStatus) actionStatus.hidden = true; if (actionStatus) actionStatus.hidden = true;
}, 220); }, 220);
+1 -1
View File
@@ -19,7 +19,7 @@ test('start screen uses the presentation-style hero and one action slot', async
assert.match(html, /id="bootstrap-status-text"/); assert.match(html, /id="bootstrap-status-text"/);
assert.match(html, /id="bootstrap-enter"[^>]*hidden/); assert.match(html, /id="bootstrap-enter"[^>]*hidden/);
assert.match(html, />Los geht’s</); assert.match(html, />Los geht’s</);
assert.match(html, /id="bootstrap-steps"[^>]*hidden/); assert.match(html, /<ol class="bootstrap-state-model" hidden>[\s\S]*data-step="storage"/);
assert.match(html, /id="bootstrap-progress"[^>]*hidden/); assert.match(html, /id="bootstrap-progress"[^>]*hidden/);
}); });