Skip to content

Commit

Permalink
chore(tests): fix warning about a non-unique element locator in e2e t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
juliemr committed Jul 8, 2014
1 parent 88a3257 commit 93510eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/sce.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>');
* });
*
Expand Down

0 comments on commit 93510eb

Please sign in to comment.