Dotclear


Ignore:
Timestamp:
10/01/13 15:31:36 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Fix tests (by adding admin/style/default.css) for toggleWithLegend. Addresses #1542

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/functional/spec/toggle_with_legend.js

    r1724 r2188  
    11describe("toggleWithLegend method (admin/js/common.js)", function() { 
    22     it("Click arrow must make target visible", function() { 
     3          loadStyleFixtures('default.css'); 
    34          loadFixtures('menu.html'); 
    45          $('#post_status').parent().toggleWithLegend($('#post_status'),{  }); 
     
    1011     it("Click arrow twice,must make target visible and after second click hidden", function() { 
    1112          loadFixtures('menu.html'); 
     13          loadStyleFixtures('default.css'); 
    1214          $('#post_status').parent().toggleWithLegend($('#post_status'),{  }); 
    1315 
     
    2123     it("Chick target must not hide target", function() { 
    2224          loadFixtures('menu.html'); 
     25          loadStyleFixtures('default.css'); 
    2326          $('#post_status').parent().toggleWithLegend($('#post_status'),{  }); 
    2427 
     
    3235     it("Chick target must not hide target, when legend_click is true", function() { 
    3336          loadFixtures('menu.html'); 
     37          loadStyleFixtures('default.css'); 
    3438          var $label = $('#post_status').parent().children('label'); 
    3539          $label.toggleWithLegend($('#post_status'),{'legend_click':true, a_container:false}); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map