Browse Source

add minimum sizes to node for restart button test

Steven Silvester 8 years ago
parent
commit
c6fee9e910
1 changed files with 4 additions and 0 deletions
  1. 4 0
      test/src/notebook/notebook/default-toolbar.spec.ts

+ 4 - 0
test/src/notebook/notebook/default-toolbar.spec.ts

@@ -219,6 +219,10 @@ describe('notebook/notebook/default-toolbar', () => {
 
       it('should restart the kernel when the dialog is accepted', (done) => {
         let button = ToolbarItems.createRestartButton(panel);
+        button.node.style.minHeight = '10px';
+        button.node.style.minWidth = '10px';
+        panel.node.style.minHeight = '300px';
+        panel.node.style.minWidth = '300px';
         panel.attach(document.body);
         button.attach(document.body);
         button.node.click();