editor overhaul
This commit is contained in:
@@ -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/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user