chore(tests): fix warning about a non-unique element locator in e2e tests

This commit is contained in:
Julie Ralph
2014-07-02 16:09:52 -07:00
parent 05597c24c7
commit 888be00712

View File

@@ -623,7 +623,7 @@ function $SceDelegateProvider() {
* <file name="protractor.js" type="protractor">
* describe('SCE doc demo', function() {
* it('should sanitize untrusted values', function() {
* expect(element(by.css('.htmlComment')).getInnerHtml())
* expect(element.all(by.css('.htmlComment')).first().getInnerHtml())
* .toBe('<span>Is <i>anyone</i> reading this?</span>');
* });
*