From 8af19c33b233fb0ff3408bbeddba7bc141cc1193 2014-01-16 10:57:08 From: Jonathan Frederic Date: 2014-01-16 10:57:08 Subject: [PATCH] Removed button.close() test because it caused the test framework to hang --- diff --git a/IPython/html/tests/casperjs/test_cases/widgets_button.js b/IPython/html/tests/casperjs/test_cases/widgets_button.js index 13143f7..3967623 100644 --- a/IPython/html/tests/casperjs/test_cases/widgets_button.js +++ b/IPython/html/tests/casperjs/test_cases/widgets_button.js @@ -40,16 +40,4 @@ casper.notebook_test(function () { this.test.assert(this.get_output_cell(button_index, 1).text == 'Clicked\n', 'Button click event fires.'); }); - - // Close the button widget asynchronisly. - index = this.append_cell('button.close()\n'); - this.execute_cell(index); - - this.wait(500); // Wait for the button to close. - - this.then(function(){ - this.test.assert(! this.cell_element_exists(button_index, - '.widget-area .widget-subarea button'), - 'Widget button doesn\'t exists.'); - }); }); \ No newline at end of file