arranbartish/angular-cli-seed

View on GitHub
e2e/app.e2e-spec.ts

Summary

Maintainability
A
0 mins
Test Coverage

import {RootPage} from './root/root.po';
const expect = global['chai'].expect;

describe('angular-cli-seed App', () => {
  let page: RootPage;

  beforeEach(() => {
    page = new RootPage();
  });

  it('will do normal tests', () => {
    expect(true).to.be.ok;
  });

  it('will display its title', () => {
    page.navigateTo();
    // change the following lines to have "eventually"
    expect(page.getParagraphText()).to.eventually.contain('Listing search POC');
  });
});