mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Removed button.close() test because it caused the test framework to hang
This commit is contained in:
parent
43bd3ae2ef
commit
f1986755ec
@ -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.');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user