Skip to content

Commit 9d24495

Browse files
alexmCameron Knight
authored and
Cameron Knight
committed
docs(tutorial/step-4): fix e2e test
After a protractor update the test syntax had to be changed. Closes angular#7919
1 parent e790dc4 commit 9d24495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/tutorial/step_04.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ __`test/e2e/scenarios.js`:__
166166
"MOTOROLA XOOM\u2122"
167167
]);
168168

169-
element(by.model('orderProp')).findElement(by.css('option[value="name"]')).click();
169+
element(by.model('orderProp')).element(by.css('option[value="name"]')).click();
170170

171171
expect(getNames()).toEqual([
172172
"MOTOROLA XOOM\u2122",

0 commit comments

Comments
 (0)