2020-01-14 13:41:28 +01:00
|
|
|
import { browser, by, element } from 'protractor';
|
|
|
|
|
|
|
|
export class AppPage {
|
|
|
|
navigateTo() {
|
|
|
|
return browser.get(browser.baseUrl) as Promise<any>;
|
|
|
|
}
|
|
|
|
|
|
|
|
getTitleText() {
|
2020-01-14 16:18:26 +01:00
|
|
|
return element(by.css('app-root div .sub-brand-content')).getText() as Promise<string>;
|
2020-01-14 13:41:28 +01:00
|
|
|
}
|
|
|
|
}
|