arranbartish/angular-cli-seed

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

Summary

Maintainability
A
3 hrs
Test Coverage

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

describe('Home page', () => {
  let page: HomePage;

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

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