8a5df4cfa9
Update gulpfile and project to add a tsconfig to protractor test folders Change all sample e2e-spec.js -> e2e-spec.ts Split typings between e2e-spec & app code Use same config for all e2e tests Only 1/3 e2e specs truly converted. Most don't pass because they fail TS transpile by Protractor due to missing type annotations
15 lines
353 B
TypeScript
15 lines
353 B
TypeScript
/// <reference path="../_protractor/e2e.d.ts" />
|
|
describe('Homepage Todo', function () {
|
|
|
|
beforeAll(function () {
|
|
browser.get('');
|
|
});
|
|
|
|
// Does it even launch?
|
|
let expectedAppTitle = 'Todo';
|
|
it('should display app title: ' + expectedAppTitle, function () {
|
|
expect(element(by.css('h2')).getText()).toEqual(expectedAppTitle);
|
|
});
|
|
|
|
});
|