Show More
@@ -39,7 +39,8 b' casper.notebook_test(function () {' | |||||
39 | this.wait_for_output(button_index, 1); |
|
39 | this.wait_for_output(button_index, 1); | |
40 |
|
40 | |||
41 | this.then(function () { |
|
41 | this.then(function () { | |
42 | 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", |
|
42 | var warning_text = this.get_output_cell(button_index, 1).text; | |
|
43 | this.test.assertNotEquals(warning_text.indexOf('Warning'), -1, | |||
43 | 'Importing widgets show a warning'); |
|
44 | 'Importing widgets show a warning'); | |
44 | this.test.assertEquals(this.get_output_cell(button_index, 2).data['text/plain'], "'Clicked'", |
|
45 | this.test.assertEquals(this.get_output_cell(button_index, 2).data['text/plain'], "'Clicked'", | |
45 | 'Button click event fires.'); |
|
46 | 'Button click event fires.'); |
General Comments 0
You need to be logged in to leave comments.
Login now