Dotclear


Ignore:
Timestamp:
08/27/13 21:38:26 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Fix issue #1513 : label can be clicked, like arrow
Update tests

File:
1 edited

Legend:

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

    r1602 r1606  
    3232    it("Chick target must not hide target, when legend_click is true", function() { 
    3333     loadFixtures('menu.html'); 
    34      $('#post_status').parent().toggleWithLegend($('#post_status'),{'legend_click':true}); 
     34     var $label = $('#post_status').parent().children('label'); 
     35     $label.toggleWithLegend($('#post_status'),{'legend_click':true, a_container:false}); 
    3536 
    36      $('#post_status').click(); 
     37     $label.click(); 
     38     expect($('#post_status')).toBeVisible(); 
     39 
     40     var $arrow = $('#post_status').parent().find('img'); 
     41     $arrow.click(); 
    3742     expect($('#post_status')).toBeVisible(); 
    3843 
Note: See TracChangeset for help on using the changeset viewer.

Sites map