source: Farmatiko/wwwroot/e2e/src/app.po.ts@ b36a754

Last change on this file since b36a754 was b36a754, checked in by Your Name <you@…>, 4 years ago

Angular app created

  • Property mode set to 100644
File size: 301 bytes
Line 
1import { browser, by, element } from 'protractor';
2
3export 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}
Note: See TracBrowser for help on using the repository browser.