dynamicbible/app/db/e2e/src/app.po.ts
Jason Wall b283898f8c initial start at porting ionic to angular material. this just deals with the website. i hate ionics new web components. despise isn't to strong a word.
this also introduces a redux pattern into the state management, which should significantly improve the complexity of the prev code.
2020-07-19 18:23:03 -04:00

12 lines
301 B
TypeScript

import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo(): Promise<unknown> {
return browser.get(browser.baseUrl) as Promise<unknown>;
}
getTitleText(): Promise<string> {
return element(by.css('app-root .content span')).getText() as Promise<string>;
}
}