Release v2.15.2
This commit is contained in:
1 parent
ddcc665f81
commit
7295f83f04
43 files changed
+2526
-104
No files matched your search
@@ -259,6 +259,21 @@ test('screen edit page does not render a player URL table', async () => {
|
||||
assert.match(html, /Slug cannot be changed after creation/);
|
||||
});
|
||||
|
||||
test('screen edit page offers force delete for disconnected onboarding bindings', () => {
|
||||
const html = renderScreenEditPage(
|
||||
{ id: 7, name: 'Demo Conference', slug: 'demo-conference', canForceDelete: true },
|
||||
{ playlists: [] },
|
||||
'',
|
||||
{ id: 1 }
|
||||
);
|
||||
|
||||
assert.match(html, /Force delete/);
|
||||
assert.match(html, /name="force_delete" value="1"/);
|
||||
assert.match(html, /Force delete this screen group and unlink its onboarding devices\?/);
|
||||
assert.ok(html.indexOf('form="screen-force-delete-form"') < html.indexOf('class="btn-group save-action-group"'));
|
||||
assert.match(html, /class="ms-auto">\s*<div class="btn-group save-action-group"/);
|
||||
});
|
||||
|
||||
test('screen launcher downloads are shared and attached', async () => {
|
||||
const handlers = {};
|
||||
const app = {
|
||||
|
||||
Reference in new issue
Block a user