app.e2e-spec.ts 406 Bytes
Newer Older
Rron Jahja's avatar
Rron Jahja committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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');
      });
    });
  });
});