##// END OF EJS Templates
Removed button.close() test because it caused the test framework to hang
Jonathan Frederic -
Show More
@@ -40,16 +40,4 b' casper.notebook_test(function () {'
40 this.test.assert(this.get_output_cell(button_index, 1).text == 'Clicked\n',
40 this.test.assert(this.get_output_cell(button_index, 1).text == 'Clicked\n',
41 'Button click event fires.');
41 'Button click event fires.');
42 });
42 });
43
44 // Close the button widget asynchronisly.
45 index = this.append_cell('button.close()\n');
46 this.execute_cell(index);
47
48 this.wait(500); // Wait for the button to close.
49
50 this.then(function(){
51 this.test.assert(! this.cell_element_exists(button_index,
52 '.widget-area .widget-subarea button'),
53 'Widget button doesn\'t exists.');
54 });
55 }); No newline at end of file
43 });
General Comments 0
You need to be logged in to leave comments. Login now