mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit adds a Forms-based test app into the `integration` folder to have an ability to measure and keep track of payload size for the changes in Forms package. PR Close #41045
11 lines
249 B
TypeScript
11 lines
249 B
TypeScript
import {browser, by, element} from 'protractor';
|
|
|
|
export class AppPage {
|
|
navigateTo() {
|
|
return browser.get(browser.baseUrl) as Promise<any>;
|
|
}
|
|
|
|
getTitleText() {
|
|
return element(by.css('app-root h1')).getText() as Promise<string>;
|
|
}
|
|
}
|