20 lines
406 B
TypeScript
20 lines
406 B
TypeScript
|
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');
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
});
|