2016-11-05 16:12:11 -04:00
|
|
|
'use strict'; // necessary for es6 output in node
|
2016-10-06 18:25:52 -04:00
|
|
|
|
|
|
|
import { browser, element, by } from 'protractor';
|
|
|
|
|
2015-10-16 00:51:13 -04:00
|
|
|
describe('QuickStart E2E Tests', function () {
|
|
|
|
|
2016-11-21 20:29:00 -05:00
|
|
|
let expectedMsg = 'Hello Angular!';
|
2015-10-16 00:51:13 -04:00
|
|
|
|
2015-12-20 16:17:16 -05:00
|
|
|
beforeEach(function () {
|
|
|
|
browser.get('');
|
|
|
|
});
|
2015-08-08 16:55:53 -04:00
|
|
|
|
2016-06-01 12:11:58 -04:00
|
|
|
it(`should display: ${expectedMsg}`, function () {
|
2015-12-20 16:17:16 -05:00
|
|
|
expect(element(by.css('h1')).getText()).toEqual(expectedMsg);
|
|
|
|
});
|
2015-08-03 20:45:58 -04:00
|
|
|
|
2015-10-16 00:51:13 -04:00
|
|
|
});
|