2016-10-06 18:25:52 -04:00
|
|
|
'use strict'; // necessary for es6 output in node
|
|
|
|
|
|
|
|
import { browser, element, by } from 'protractor';
|
|
|
|
|
2016-06-05 14:25:16 -04:00
|
|
|
describe('cli-quickstart App', () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
return browser.get('/');
|
2016-06-12 18:41:33 -04:00
|
|
|
});
|
2016-06-05 14:25:16 -04:00
|
|
|
|
|
|
|
it('should display message saying app works', () => {
|
2016-06-12 18:41:33 -04:00
|
|
|
let pageTitle = element(by.css('cli-quickstart-app h1')).getText();
|
2016-09-19 23:24:40 -04:00
|
|
|
expect(pageTitle).toEqual('My First Angular App');
|
2016-06-05 14:25:16 -04:00
|
|
|
});
|
|
|
|
});
|