2016-10-06 23:25:52 +01:00
|
|
|
'use strict'; // necessary for es6 output in node
|
|
|
|
|
|
|
|
import { browser, element, by } from 'protractor';
|
|
|
|
|
2016-01-22 02:40:37 -08:00
|
|
|
describe('Homepage Tabs', function () {
|
|
|
|
|
|
|
|
beforeAll(function () {
|
|
|
|
browser.get('');
|
|
|
|
});
|
|
|
|
|
|
|
|
// Does it even launch?
|
2016-05-30 11:05:09 -07:00
|
|
|
let expectedAppTitle = 'Tabs Demo';
|
2016-06-01 18:11:58 +02:00
|
|
|
it(`should display app title: ${expectedAppTitle}`, function () {
|
2016-01-22 02:40:37 -08:00
|
|
|
expect(element(by.css('h4')).getText()).toEqual(expectedAppTitle);
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|