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-07-30 13:03:13 +03:00
|
|
|
beforeAll(() => {
|
2017-06-19 23:32:30 -07:00
|
|
|
browser.get('');
|
|
|
|
});
|
|
|
|
|
2020-07-30 13:03:17 +03:00
|
|
|
it('should display correct title: ' + title, () => {
|
|
|
|
expect(element(by.css('h1')).getText()).toEqual(title);
|
2017-06-19 23:32:30 -07:00
|
|
|
});
|
|
|
|
});
|