mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-10 22:44:01 +08:00
chore(tests): fix warning about a non-unique element locator in e2e tests
This commit is contained in:
@@ -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>');
|
||||
* });
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user