Blame view
e2e/src/app.po.ts
301 Bytes
136f52603 initial commit |
1 2 3 4 5 6 7 8 9 10 11 |
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>; } } |