Show More
@@ -104,5 +104,10 b' casper.notebook_test(function () {' | |||||
104 | this.execute_cell_then(index, function(index){ |
|
104 | this.execute_cell_then(index, function(index){ | |
105 | this.test.assertEquals(this.get_output_cell(index).text, '1\n', // 0 based |
|
105 | this.test.assertEquals(this.get_output_cell(index).text, '1\n', // 0 based | |
106 | 'selected_index property updated with tab change.'); |
|
106 | 'selected_index property updated with tab change.'); | |
|
107 | ||||
|
108 | var is_collapsed = this.evaluate(function(s){ | |||
|
109 | return $(s + ' div.accordion-group:nth-child(2) a').hasClass('collapsed'); // 1 based | |||
|
110 | }, {s: multicontainer2_query}); | |||
|
111 | this.test.assertEquals(is_collapsed, false, 'Was tab actually opened?'); | |||
107 | }); |
|
112 | }); | |
108 | }); No newline at end of file |
|
113 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now