Skip to content

Commit 639871f

Browse files
committed
bah
1 parent 25b9a8d commit 639871f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎v3/js/opt-testcases.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ function initTestcasesPane(parentDivId) {
6464
});
6565

6666
$("#addNewTestCase").click(); // for testing
67+
68+
$("#runAllTestsButton").click(function() {
69+
$(".runTestCase").click();
70+
});
6771
}
6872

6973
function getCombinedCode(id) {
@@ -120,6 +124,7 @@ function addTestcase(id) {
120124
editorTd.append('<div id="testCaseEditor_' + id + '" class="testCaseEditor">');
121125
runBtnTd.append('<button id="runTestCase_' + id + '" class="runTestCase" type="button">Run</button>');
122126
outputTd.attr('id', 'outputTd_' + id);
127+
outputTd.attr('class', 'outputTd');
123128
visualizeTd.append('<button id="vizTestCase_' + id + '" class="vizTestCase" type="button">Visualize</button>');
124129
deleteTd.append('<a id="delTestCase_' + id + '" href="javascript:void(0);">Delete test</a></td>');
125130

0 commit comments

Comments
 (0)