2017-06-19 23:32:30 -07:00
|
|
|
import { browser, element, by } from 'protractor';
|
|
|
|
|
2020-07-30 13:03:13 +03:00
|
|
|
describe('Docs Style Guide', () => {
|
2020-07-30 13:03:19 +03:00
|
|
|
const title = 'Authors Style Guide Sample';
|
2017-06-19 23:32:30 -07:00
|
|
|
|
2020-11-23 20:17:10 +02:00
|
|
|
beforeAll(() => browser.get(''));
|
2017-06-19 23:32:30 -07:00
|
|
|
|
2020-11-23 20:17:10 +02: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
|
|
|
});
|
|
|
|
});
|