From bad9d1b71fbbb32cccfe62959a7319221810a8d5 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 27 Jun 2013 09:19:50 +1000 Subject: 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. --- docs/content/guide/dev_guide.e2e-testing.ngdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3