This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
universal-statuspage/e2e/src/app.po.ts
samuel-p a4542f7abd major refactoring
added universal
added api
2020-05-06 17:25:35 +02:00

11 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>;
}
}