14 lines
309 B
TypeScript
Raw Normal View History

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