@@ -3,28 +3,28 @@ angular.scenarioDef.widgets = {
33 { Given :"browser" , at :"widgets.html" }
44 ] ,
55 checkWidgetBinding :[
6- { Then :"text" , at :"{{name}}" , should_be :"" } ,
7- { When :"enter" , text :"John" , at :":input[name=name]" } ,
8- { Then :"text" , at :"{{name}}" , should_be :"John" } ,
9-
10- { Then :"text" , at :"{{gender}}" , should_be :"" } ,
11- { When :"click" , at :"input:radio[value=male]" } ,
6+ { Then :"text" , at :"{{text.basic}}" , should_be :"" } ,
7+ { When :"enter" , text :"John" , at :":input[name=text.basic]" } ,
8+ { Then :"text" , at :"{{text.basic}}" , should_be :"John" } ,
9+
1210 { Then :"text" , at :"{{gender}}" , should_be :"male" } ,
13-
11+ { When :"click" , at :"input:radio[value=female]" } ,
12+ { Then :"text" , at :"{{gender}}" , should_be :"female" } ,
13+
1414 { Then :"text" , at :"{{tea}}" , should_be :"on" } ,
1515 { When :"click" , at :"input[name=tea]" } ,
1616 { Then :"text" , at :"{{tea}}" , should_be :"" } ,
17-
17+
1818 { Then :"text" , at :"{{coffee}}" , should_be :"" } ,
1919 { When :"click" , at :"input[name=coffee]" } ,
2020 { Then :"text" , at :"{{coffee}}" , should_be :"on" } ,
21-
21+
2222 { Then :"text" , at :"{{count}}" , should_be :0 } ,
2323 { When :"click" , at :"form :button" } ,
2424 { When :"click" , at :"form :submit" } ,
2525 { When :"click" , at :"form :image" } ,
2626 { Then :"text" , at :"{{count}}" , should_be :3 } ,
27-
27+
2828 { Then :"text" , at :"{{select}}" , should_be :"A" } ,
2929 { When :"select" , at :"select[name=select]" , option :"B" } ,
3030 { Then :"text" , at :"{{select}}" , should_be :"B" } ,
@@ -36,7 +36,7 @@ angular.scenarioDef.widgets = {
3636 { Then :"text" , at :"{{multiple}}" , should_be :[ "A" , "B" ] } ,
3737 { When :"select" , at :"select[name=multiple]" , option :"A" } ,
3838 { Then :"text" , at :"{{multiple}}" , should_be :[ "B" ] } ,
39-
39+
4040 { Then :"text" , at :"{{hidden}}" , should_be :"hiddenValue" } ,
4141
4242 { Then :"text" , at :"{{password}}" , should_be :"passwordValue" } ,
0 commit comments