source: trip-planner-front/node_modules/@schematics/angular/e2e/files/src/app.po.ts.template@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 285 bytes
Line 
1import { browser, by, element } from 'protractor';
2
3export class AppPage {
4 async navigateTo(): Promise<unknown> {
5 return browser.get(browser.baseUrl);
6 }
7
8 async getTitleText(): Promise<string> {
9 return element(by.css('<%= rootSelector %> .content span')).getText();
10 }
11}
Note: See TracBrowser for help on using the repository browser.