docs(tutorial/step-4): fix e2e test

After a protractor update the test syntax had to be changed.

Closes #7919
This commit is contained in:
Alex Muntada
2014-06-20 14:30:21 +02:00
committed by Peter Bacon Darwin
parent 8b25ea129a
commit 03777445e8

View File

@@ -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",