Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 89c8c93

Browse files
Gwash3189petebacondarwin
authored andcommitted
docs(guide/e2e-testing): clarify description of input(name) selector
The description of the input selector made it seem that you were selecting an input element based upon it's name attribute. In reality, you are selecting an element by the string in the ng-model attribute.
1 parent 296074f commit 89c8c93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/guide/dev_guide.e2e-testing.ngdoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,16 @@ Scopes the next DSL element selection.
110110
Returns the value of the first binding matching the given `name`.
111111

112112
## input(name).enter(value)
113-
Enters the given `value` in the text field with the given `name`.
113+
Enters the given `value` in the text field with the corresponding ng-model `name`.
114114

115115
## input(name).check()
116-
Checks/unchecks the checkbox with the given `name`.
116+
Checks/unchecks the checkbox with the corresponding ng-model `name`.
117117

118118
## input(name).select(value)
119-
Selects the given `value` in the radio button with the given `name`.
119+
Selects the given `value` in the radio button with the corresponding ng-model `name`.
120120

121121
## input(name).val()
122-
Returns the current value of an input field with the given `name`.
122+
Returns the current value of an input field with the corresponding ng-model `name`.
123123

124124
## repeater(selector, label).count()
125125
Returns the number of rows in the repeater matching the given jQuery `selector`. The `label` is

0 commit comments

Comments
 (0)