This integration test was created from a vanilla CLI generated project with the following modifications: * remove `PercentPipe` usage from `app.component.html` - these are not yet supported by ivy * changed `ng test` in `package.json` to only to `ng build` - right now we can only confirm that the app will build * hard-code `ngDevMode` in `index.html` - the CLI does not yet set this correctly PR Close #26403
16 lines
286 B
TypeScript
16 lines
286 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class AppPage {
|
|
navigateTo() {
|
|
return browser.get('/');
|
|
}
|
|
|
|
getParagraphText() {
|
|
return element(by.css('app-root h1')).getText();
|
|
}
|
|
|
|
getPipeContent() {
|
|
return element(by.css('app-root p')).getText();
|
|
}
|
|
}
|