This commit disables the Selenium Promise Manager when running e2e tests for docs examples in order to more closely align them with new apps created with CLI v11. This change requires that any async operations in tests are handled explicitly (e.g. using `async/await` or `Promise#then()`). PR Close #39818
15 lines
315 B
TypeScript
15 lines
315 B
TypeScript
import { AppPage } from './app.po';
|
|
|
|
describe('feature-modules App', () => {
|
|
let page: AppPage;
|
|
|
|
beforeEach(() => {
|
|
page = new AppPage();
|
|
});
|
|
|
|
it('should display message saying app works', async () => {
|
|
await page.navigateTo();
|
|
expect(await page.getTitleText()).toEqual('app works!');
|
|
});
|
|
});
|