From f1986755ec1cc72285fa662d489426c755eccb81 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Thu, 12 Dec 2013 19:00:29 +0000 Subject: [PATCH] Removed button.close() test because it caused the test framework to hang --- .../html/tests/casperjs/test_cases/widgets_button.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/IPython/html/tests/casperjs/test_cases/widgets_button.js b/IPython/html/tests/casperjs/test_cases/widgets_button.js index 13143f7fa..3967623b2 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