12 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', () => {
const title = 'Authors Style Guide Sample';
2017-06-19 23:32:30 -07:00
beforeAll(() => browser.get(''));
2017-06-19 23:32:30 -07:00
it(`should display correct title: ${title}`, async () => {
expect(await element(by.css('h1')).getText()).toEqual(title);
2017-06-19 23:32:30 -07:00
});
});