Files
angular__angular/integration/ivy-i18n/e2e/runtime/app.e2e-spec.ts
Joey Perrott 894c1c5f10 refactor: apply prettier formatting to integration (#54653)
Apply prettier formatting to integration directories

PR Close #54653
2024-04-02 20:42:04 +00:00

34 lines
861 B
TypeScript

import {AppPage} from '../app.po';
describe('cli-hello-world-ivy App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display title', () => {
page.navigateTo();
expect(page.getHeading()).toEqual('Bonjour cli-hello-world-ivy-compat!');
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraph('message')).toEqual("Bienvenue sur l'application i18n.");
});
it('the percent pipe should work', () => {
page.navigateTo();
expect(page.getParagraph('pipe')).toEqual('100 % awesome');
});
it('should display the locale', () => {
expect(page.getParagraph('locale')).toEqual('fr');
});
it('the date pipe should show the localized month', () => {
page.navigateTo();
expect(page.getParagraph('date')).toEqual('janvier');
});
});