2016-06-15 21:01:03 -04:00
|
|
|
/// <reference path='../_protractor/e2e.d.ts' />
|
|
|
|
'use strict';
|
2015-10-16 00:51:13 -04:00
|
|
|
describe('QuickStart E2E Tests', function () {
|
|
|
|
|
2016-05-30 14:05:09 -04:00
|
|
|
let expectedMsg = 'My First Angular 2 App';
|
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
|
|
|
});
|