test: add i18n to cli-hello-world integration test (#23527)
PR Close #23527
This commit is contained in:

committed by
Igor Minar

parent
2e5457c824
commit
3e92b22258
@ -11,4 +11,9 @@ describe('cli-hello-world App', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getParagraphText()).toEqual('Welcome to app!');
|
||||
});
|
||||
|
||||
it('the percent pipe should work', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getPipeContent()).toEqual('100 % awesome');
|
||||
})
|
||||
});
|
||||
|
@ -8,4 +8,8 @@ export class AppPage {
|
||||
getParagraphText() {
|
||||
return element(by.css('app-root h1')).getText();
|
||||
}
|
||||
|
||||
getPipeContent() {
|
||||
return element(by.css('app-root p')).getText();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user