Yet more work on self-tests 2

This commit is contained in:
Rick Falkvinge
2018-10-29 19:42:41 +01:00
parent ae431c480f
commit 38d47e1c3c
@@ -6,6 +6,21 @@
$(document).ready(function () {
$('#TableTestResults').datagrid('appendRow', {
testName: 'Socket tests'
});
var rowCount = $('#TableTestResults').datagrid('getRows').length;
alert(rowCount);
$('#TableTestResults').datagrid('mergeCells', {
index: rowCount,
colspan: 5,
type: 'body',
field: 'testGroup'
});
$('#TableTestResults').datagrid('appendRow', {
testName: 'Test Browser',
red: "<img src='/Images/Icons/iconshock-red-cross-sphere-128x96px.png' data-test-id='Sockets-Browser' class='test-failed' style='display:none' height='20px' />",