This commit is contained in:
Vendored
+2
@@ -41,6 +41,8 @@ test('bootstrap status text fades between loading steps and is replaced by the s
|
||||
assert.match(loader, /actionStatus\?\.classList\.add\('is-leaving'\)/);
|
||||
assert.match(loader, /enter\.classList\.add\('is-visible'\)/);
|
||||
assert.match(loader, /const completedSteps = new Set\(\)/);
|
||||
assert.match(loader, /function schedule\(callback, delay = 0\)/);
|
||||
assert.match(loader, /typeof globalThis\.setTimeout === 'function'/);
|
||||
assert.doesNotMatch(loader, /dataset\.state/);
|
||||
assert.match(loader, /event\.stopPropagation\?\.\(\)/);
|
||||
});
|
||||
|
||||
@@ -20,7 +20,8 @@ test('editor markup and source describe local draft creation instead of immediat
|
||||
const ui = await read('public/js/editor-ui.js');
|
||||
|
||||
assert.match(html, /id="editor-button"[^>]+aria-label="Streckenverwaltung öffnen"/);
|
||||
assert.match(html, /class="editor-button-icon"[^>]+src="images\/icons\/route-management\.svg"[^>]+alt=""/);
|
||||
assert.match(html, /<img[^>]+src="images\/icons\/route-management\.svg"[^>]+alt=""[^>]*>/);
|
||||
assert.doesNotMatch(html, /class="editor-button-icon"/);
|
||||
assert.match(html, /<dialog id="editor-dialog"/);
|
||||
assert.match(html, /id="editor-route-form"/);
|
||||
assert.match(html, /id="editor-poi-form"/);
|
||||
@@ -50,7 +51,8 @@ test('editor markup and source describe local draft creation instead of immediat
|
||||
assert.match(css, /\.editor-media-remove/);
|
||||
assert.match(css, /\.editor-danger-button/);
|
||||
assert.match(css, /\.editor-icon-danger/);
|
||||
assert.match(css, /\.editor-button-icon/);
|
||||
assert.match(css, /\.editor-button\s+img/);
|
||||
assert.doesNotMatch(css, /\.editor-button-icon/);
|
||||
|
||||
assert.match(ui, /readJson\(['"]\/routes\?activatedOnly=true['"]\)/);
|
||||
assert.match(ui, /ns\.LocalRoutes\.save\(/);
|
||||
|
||||
Reference in New Issue
Block a user