Commit b0a07ea 1 parent b9be6d7 commit b0a07ea Copy full SHA for b0a07ea
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 60
60
assert . ok ( $ ( this ) . is ( ':visible' ) , 'non display-if field is visible after changes (parent #' + $ ( this ) . parent ( ) . attr ( 'id' ) + ')' ) ;
61
61
} ) ;
62
62
63
- assert . ok ( $ ( '#di-789' ) . is ( ' :visible' ) , "show display-if value of '789'" ) ;
64
- assert . ok ( $ ( '#di-123' ) . not ( ' :visible' ) , "hide display-if value of '123'" ) ;
65
- assert . ok ( $ ( '#di-456' ) . not ( ' :visible' ) , "hide display-if value of '456'" ) ;
63
+ assert . ok ( $ ( '#di-789:visible' ) . length , "show display-if value of '789'" ) ;
64
+ assert . notOk ( $ ( '#di-123:visible' ) . length , "hide display-if value of '123'" ) ;
65
+ assert . notOk ( $ ( '#di-456:visible' ) . length , "hide display-if value of '456'" ) ;
66
66
67
67
// The boolean and "wrong"/"right" checkboxs are unchecked by default.
68
68
assert . notOk ( $ ( '#di-when-boolean-checkbox-true:visible' ) . length ) ;
You can’t perform that action at this time.
0 commit comments