mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #7120 from Carreau/fix-widget-load
lazy load widgets
This commit is contained in:
commit
8160308bb2
@ -39,7 +39,9 @@ casper.notebook_test(function () {
|
||||
this.wait_for_output(button_index, 1);
|
||||
|
||||
this.then(function () {
|
||||
this.test.assertEquals(this.get_output_cell(button_index, 1).data['text/plain'], "'Clicked'",
|
||||
this.test.assertEquals(this.get_output_cell(button_index, 1).text, "WARNING: The widget API is still considered experimental and \n may change by the next major release of IPython.\n",
|
||||
'Importing widgets show a warning');
|
||||
this.test.assertEquals(this.get_output_cell(button_index, 2).data['text/plain'], "'Clicked'",
|
||||
'Button click event fires.');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user