Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 00247fa

Browse files
committed
docs(getting-started): add a note about patching expect
1 parent c431d4d commit 00247fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/getting-started.md

+2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ describe('angularjs homepage', function() {
104104
// find the <h1>Hello {{yourName}}!</h1> element.
105105
var greeting = ptor.findElement(protractor.By.binding("yourName"));
106106

107+
// Assert that the text element has the expected value.
108+
// Protractor patches 'expect' to understand promises.
107109
expect(greeting.getText()).toEqual('Hello Julie!');
108110
});
109111
});

0 commit comments

Comments
 (0)