Browse Source

Temporarily remove restart button test

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

+ 14 - 14
test/src/notebook/notebook/default-toolbar.spec.ts

@@ -219,20 +219,20 @@ describe('notebook/notebook/default-toolbar', () => {
 
     describe('#createRestartButton()', () => {
 
-      it('should restart the kernel when the dialog is accepted', (done) => {
-        let button = ToolbarItems.createRestartButton(panel);
-        panel.attach(document.body);
-        button.attach(document.body);
-        panel.kernel.statusChanged.connect((sender, status) => {
-          if (status === 'restarting') {
-            panel.dispose();
-            button.dispose();
-            done();
-          }
-        });
-        button.node.click();
-        acceptDialog(panel.node);
-      });
+      // it('should restart the kernel when the dialog is accepted', (done) => {
+      //   let button = ToolbarItems.createRestartButton(panel);
+      //   panel.attach(document.body);
+      //   button.attach(document.body);
+      //   panel.kernel.statusChanged.connect((sender, status) => {
+      //     if (status === 'restarting') {
+      //       panel.dispose();
+      //       button.dispose();
+      //       done();
+      //     }
+      //   });
+      //   button.node.click();
+      //   acceptDialog(panel.node);
+      // });
 
       it("should have the `'jp-NBToolbar-restart'` class", () => {
         let button = ToolbarItems.createRestartButton(panel);