image handling update for route creation
Sonarqube Scanner / Build and analyze (push) Failing after 20s

This commit is contained in:
Florian Zumpe
2026-09-27 21:50:52 +02:00
parent 4b8105188f
commit 7f6d0425d5
16 changed files with 831 additions and 182 deletions
+15
View File
@@ -21,6 +21,7 @@ test('start screen uses the presentation-style hero and one action slot', async
assert.match(html, />Los geht’s</);
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="android-browser-hint"[^>]*hidden/);
});
test('bootstrap status text fades between loading steps and is replaced by the start button', async () => {
@@ -46,3 +47,17 @@ test('bootstrap status text fades between loading steps and is replaced by the s
assert.doesNotMatch(loader, /dataset\.state/);
assert.match(loader, /event\.stopPropagation\?\.\(\)/);
});
test('Android start hint distinguishes Chrome from other Android browsers', async () => {
const css = await read('public/css/bootstrap.css');
const loader = await read('public/js/bootstrap-loader.js');
assert.match(css, /\.android-browser-hint\s*\{/);
assert.match(css, /\.android-browser-hint\[data-browser="other"\]/);
assert.match(loader, /getElementById\('android-browser-hint'\)/);
assert.match(loader, /\/Android\/i/);
assert.match(loader, /\/Chrome\\\//i);
assert.match(loader, /Android mit Chrome erkannt/);
assert.match(loader, /Android erkannt\. Für lokale Bilder und Audiodateien bitte Chrome verwenden/);
});