14 lines
310 B
TypeScript
Raw Normal View History

2017-06-19 23:32:30 -07:00
import { browser, element, by } from 'protractor';
describe('Docs Style Guide', () => {
2017-06-19 23:32:30 -07:00
let _title = 'Authors Style Guide Sample';
beforeAll(() => {
2017-06-19 23:32:30 -07:00
browser.get('');
});
it('should display correct title: ' + _title, () => {
2017-06-19 23:32:30 -07:00
expect(element(by.css('h1')).getText()).toEqual(_title);
});
});