angular-cn/public/docs/_examples/styleguide/e2e-spec.ts

14 lines
343 B
TypeScript
Raw Normal View History

/// <reference path="../_protractor/e2e.d.ts" />
describe('Documentation StyleGuide E2E Tests', function() {
let expectedMsg = 'My First Angular 2 App';
beforeEach(function () {
browser.get('');
});
it('should display: ' + expectedMsg, function() {
expect(element(by.id('output')).getText()).toEqual(expectedMsg);
});
});