| 1 | import { browser, by, element } from 'protractor'; |
| 2 | |
| 3 | export class AppPage { |
| 4 | navigateTo(): Promise<unknown> { |
| 5 | return browser.get(browser.baseUrl) as Promise<unknown>; |
| 6 | } |
| 7 | |
| 8 | getTitleText(): Promise<string> { |
| 9 | return element(by.css('app-root .content span')).getText() as Promise<string>; |
| 10 | } |
| 11 | } |
nothing calls this directly
no outgoing calls
no test coverage detected