mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3e46a426c4
This commit adds 2 integration apps to verify the `bootstrapApplication` API behavior as well as keep track of the bundle size and retained symbols (tree-shaking). PR Close #45674
12 lines
249 B
TypeScript
12 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>;
|
|
}
|
|
}
|