Changeset 2188:bd8ff5fa99eb for tests/functional
- Timestamp:
- 10/01/13 15:31:36 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/functional/spec/toggle_with_legend.js
r1724 r2188 1 1 describe("toggleWithLegend method (admin/js/common.js)", function() { 2 2 it("Click arrow must make target visible", function() { 3 loadStyleFixtures('default.css'); 3 4 loadFixtures('menu.html'); 4 5 $('#post_status').parent().toggleWithLegend($('#post_status'),{ }); … … 10 11 it("Click arrow twice,must make target visible and after second click hidden", function() { 11 12 loadFixtures('menu.html'); 13 loadStyleFixtures('default.css'); 12 14 $('#post_status').parent().toggleWithLegend($('#post_status'),{ }); 13 15 … … 21 23 it("Chick target must not hide target", function() { 22 24 loadFixtures('menu.html'); 25 loadStyleFixtures('default.css'); 23 26 $('#post_status').parent().toggleWithLegend($('#post_status'),{ }); 24 27 … … 32 35 it("Chick target must not hide target, when legend_click is true", function() { 33 36 loadFixtures('menu.html'); 37 loadStyleFixtures('default.css'); 34 38 var $label = $('#post_status').parent().children('label'); 35 39 $label.toggleWithLegend($('#post_status'),{'legend_click':true, a_container:false});
Note: See TracChangeset
for help on using the changeset viewer.