From 9b45c1cb2a2693f87718d268a086a0bc83a39119 Mon Sep 17 00:00:00 2001 From: Alex Muntada Date: Fri, 20 Jun 2014 14:30:21 +0200 Subject: [PATCH] Fix e2e test in step-4 The online documentation doesn't match the code in the `test/e2e/scenarios.js` file. --- docs/content/tutorial/step_04.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc index 035fd6cc905c..a941dbd67af7 100644 --- a/docs/content/tutorial/step_04.ngdoc +++ b/docs/content/tutorial/step_04.ngdoc @@ -166,7 +166,7 @@ __`test/e2e/scenarios.js`:__ "MOTOROLA XOOM\u2122" ]); - element(by.model('orderProp')).findElement(by.css('option[value="name"]')).click(); + element(by.model('orderProp')).element(by.css('option[value="name"]')).click(); expect(getNames()).toEqual([ "MOTOROLA XOOM\u2122",