frontend/e2e/src/app.e2e-spec.ts

20 lines
406 B
TypeScript
Raw Normal View History

2020-02-08 02:01:00 +00:00
import { AppPage } from './app.po';
describe('new App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
describe('default screen', () => {
beforeEach(() => {
page.navigateTo('/home');
});
it('should have a title saying Home', () => {
page.getPageOneTitleText().then(title => {
expect(title).toEqual('Home');
});
});
});
});