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

Commit 93510eb

Browse files
committed
chore(tests): fix warning about a non-unique element locator in e2e tests
1 parent 88a3257 commit 93510eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/sce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ function $SceDelegateProvider() {
623623
* <file name="protractor.js" type="protractor">
624624
* describe('SCE doc demo', function() {
625625
* it('should sanitize untrusted values', function() {
626-
* expect(element(by.css('.htmlComment')).getInnerHtml())
626+
* expect(element.all(by.css('.htmlComment')).first().getInnerHtml())
627627
* .toBe('<span>Is <i>anyone</i> reading this?</span>');
628628
* });
629629
*

0 commit comments

Comments
 (0)