editor overhaul
Sonarqube Scanner / Prepare environment (push) Successful in 7s
Sonarqube Scanner / Build and test (push) Successful in 23s
Sonarqube Scanner / SonarQube analysis (push) Successful in 56s
Sonarqube Scanner / Deploy to Server (push) Successful in 8s

This commit is contained in:
Florian Zumpe
2026-10-18 14:26:25 +02:00
parent d33a67b8ae
commit 9c4d5f6324
17 changed files with 359 additions and 55 deletions
+12
View File
@@ -262,3 +262,15 @@ test('legal overlay handlers synchronize switches without advancing the start sc
elements.get('info-close').dispatchEvent(pointerEvent());
assert.equal(elements.get('info-dialog').open, false);
});
test('Florian Zumpe is the operator across static legal pages and school contacts are not used', async () => {
const html = await read('public/index.html');
for (const name of ['privacy', 'imprint', 'terms']) {
const article = html.match(new RegExp(`<article[^>]+data-info-page="${name}"[\\s\\S]*?</article>`))[0];
assert.match(article, /Florian Zumpe/);
assert.match(article, /\[Anschrift von Florian Zumpe ergänzen\]/);
assert.match(article, /info@wegwichtel\.de/);
assert.doesNotMatch(article, /info@grundschule-herpf|Frau Wichert|Landkreis Schmalkalden|Staatliches Schulamt|data-i18n/);
}
assert.match(html, /Grundschule Herpf soll die App nach einer gesonderten Nutzungsfreigabe verwenden/);
});