2016-05-30 14:05:09 -04:00
|
|
|
/// <reference path="../_protractor/e2e.d.ts" />
|
2016-01-22 05:40:37 -05:00
|
|
|
describe('Homepage Todo', function () {
|
|
|
|
|
|
|
|
beforeAll(function () {
|
|
|
|
browser.get('');
|
|
|
|
});
|
|
|
|
|
|
|
|
// Does it even launch?
|
2016-05-30 14:05:09 -04:00
|
|
|
let expectedAppTitle = 'Todo';
|
2016-06-01 12:11:58 -04:00
|
|
|
it(`should display app title: ${expectedAppTitle}`, function () {
|
2016-01-22 05:40:37 -05:00
|
|
|
expect(element(by.css('h2')).getText()).toEqual(expectedAppTitle);
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|