diff options
| author | Adam | 2013-06-27 09:19:50 +1000 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-27 20:46:09 +0100 | 
| commit | 89c8c93b9ab355c05428f78854e51aab72b0e369 (patch) | |
| tree | cd79bbd846b0fd823231aa2edeaa8a971a467bb2 /docs/content/guide/dev_guide.e2e-testing.ngdoc | |
| parent | 296074f548936ea500afd7b5eadf7164ecf9ed83 (diff) | |
| download | angular.js-89c8c93b9ab355c05428f78854e51aab72b0e369.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/content/guide/dev_guide.e2e-testing.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.e2e-testing.ngdoc | 8 | 
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 | 
