This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@ async function read(relativePath) {
|
||||
test('bootstrap screen remains vertically scrollable on small displays', async () => {
|
||||
const css = await read('public/css/bootstrap.css');
|
||||
const bootstrapRule = css.match(/#bootstrap-screen\s*\{([\s\S]*?)\}/)?.[1] ?? '';
|
||||
const cardRule = css.match(/#bootstrap-screen\s*>\s*section\s*\{([\s\S]*?)\}/)?.[1] ?? '';
|
||||
const cardRule = css.match(/#bootstrap-screen\s*>\s*\.bootstrap-card\s*\{([\s\S]*?)\}/)?.[1] ?? '';
|
||||
|
||||
assert.match(bootstrapRule, /overflow-y:\s*auto/);
|
||||
assert.match(bootstrapRule, /overflow-x:\s*hidden/);
|
||||
|
||||
Vendored
+4
@@ -34,9 +34,13 @@ test('bootstrap status text fades between loading steps and is replaced by the s
|
||||
assert.match(fadingRule, /opacity:\s*0/);
|
||||
assert.match(loader, /statusText\.classList\.add\('is-fading'\)/);
|
||||
assert.match(loader, /statusText\.classList\.remove\('is-fading'\)/);
|
||||
assert.match(loader, /storage:\s*'Lokalen Speicher prüfen …'/);
|
||||
assert.match(loader, /server:\s*'Server prüfen …'/);
|
||||
assert.match(loader, /routes:\s*'Routen laden …'/);
|
||||
assert.match(loader, /location:\s*'Standort ermitteln …'/);
|
||||
assert.match(loader, /actionStatus\?\.classList\.add\('is-leaving'\)/);
|
||||
assert.match(loader, /enter\.classList\.add\('is-visible'\)/);
|
||||
assert.match(loader, /const completedSteps = new Set\(\)/);
|
||||
assert.doesNotMatch(loader, /dataset\.state/);
|
||||
assert.match(loader, /event\.stopPropagation\?\.\(\)/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user