angular-cn/aio/content/examples/docs-style-guide/e2e/app.e2e-spec.ts

16 lines
379 B
TypeScript
Raw Normal View History

2017-06-20 02:32:30 -04:00
'use strict'; // necessary for es6 output in node
import { browser, element, by } from 'protractor';
describe('Docs Style Guide', function () {
let _title = 'Authors Style Guide Sample';
beforeAll(function () {
browser.get('');
});
it('should display correct title: ' + _title, function () {
expect(element(by.css('h1')).getText()).toEqual(_title);
});
});