aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAdam2013-06-27 09:19:50 +1000
committerPete Bacon Darwin2013-06-27 20:45:53 +0100
commitbad9d1b71fbbb32cccfe62959a7319221810a8d5 (patch)
tree0fe184896e1816a39b4296bd9ae34ab99859eb5e /docs
parentfdab3082785e79938329534feb3581711554e754 (diff)
downloadangular.js-bad9d1b71fbbb32cccfe62959a7319221810a8d5.tar.bz2
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/guide/dev_guide.e2e-testing.ngdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/guide/dev_guide.e2e-testing.ngdoc b/docs/content/guide/dev_guide.e2e-testing.ngdoc
index 58e24841..8d297cff 100644
--- a/docs/content/guide/dev_guide.e2e-testing.ngdoc
+++ b/docs/content/guide/dev_guide.e2e-testing.ngdoc
@@ -110,16 +110,16 @@ Scopes the next DSL element selection.
Returns the value of the first binding matching the given `name`.
## input(name).enter(value)
-Enters the given `value` in the text field with the given `name`.
+Enters the given `value` in the text field with the corresponding ng-model `name`.
## input(name).check()
-Checks/unchecks the checkbox with the given `name`.
+Checks/unchecks the checkbox with the corresponding ng-model `name`.
## input(name).select(value)
-Selects the given `value` in the radio button with the given `name`.
+Selects the given `value` in the radio button with the corresponding ng-model `name`.
## input(name).val()
-Returns the current value of an input field with the given `name`.
+Returns the current value of an input field with the corresponding ng-model `name`.
## repeater(selector, label).count()
Returns the number of rows in the repeater matching the given jQuery `selector`. The `label` is