angular-docs-cn/public/docs/_examples/homepage-todo/e2e-spec.js

15 lines
305 B
JavaScript
Raw Normal View History

describe('Homepage Todo', function () {
beforeAll(function () {
browser.get('');
});
// Does it even launch?
var expectedAppTitle = 'Todo';
it('should display app title: ' + expectedAppTitle, function () {
expect(element(by.css('h2')).getText()).toEqual(expectedAppTitle);
});
});