This commit adds an integration test that uses `@angular/elements` with `@angular/platform-server` in order to highlight a current incompatibility. The issue will be fixed in a subsequent commit. PR Close #40559
12 lines
254 B
TypeScript
12 lines
254 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class AppPage {
|
|
async navigateTo(): Promise<unknown> {
|
|
return browser.get(browser.baseUrl);
|
|
}
|
|
|
|
async getTitleText(): Promise<string> {
|
|
return element(by.css('h1')).getText();
|
|
}
|
|
}
|