angular-docs-cn/public/docs/_examples/quickstart/e2e-spec.js

16 lines
281 B
JavaScript
Raw Normal View History

describe('QuickStart E2E Tests', function () {
var expectedMsg = 'My First Angular 2 App';
beforeEach(function () {
browser.get('');
});
it('should display: ' + expectedMsg, function () {
expect(element(by.css('h1')).getText()).toEqual(expectedMsg);
});
});