test(core): fix security example e2e test (#26777)
The changes in d5cbcef0ea
caused this test to fail.
PR Close #26777
This commit is contained in:
parent
f8741c0985
commit
d878f3df93
|
@ -10,7 +10,7 @@ describe('Security E2E Tests', () => {
|
||||||
expect(interpolated.getText())
|
expect(interpolated.getText())
|
||||||
.toContain('Template <script>alert("0wned")</script> <b>Syntax</b>');
|
.toContain('Template <script>alert("0wned")</script> <b>Syntax</b>');
|
||||||
let bound = element(By.className('e2e-inner-html-bound'));
|
let bound = element(By.className('e2e-inner-html-bound'));
|
||||||
expect(bound.getText()).toContain('Template alert("0wned") Syntax');
|
expect(bound.getText()).toContain('Template Syntax');
|
||||||
let bold = element(By.css('.e2e-inner-html-bound b'));
|
let bold = element(By.css('.e2e-inner-html-bound b'));
|
||||||
expect(bold.getText()).toContain('Syntax');
|
expect(bold.getText()).toContain('Syntax');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue