diff --git a/test/e2e/app.e2e-spec.ts b/test/e2e/app.e2e-spec.ts index 22e5660f..68e409c0 100644 --- a/test/e2e/app.e2e-spec.ts +++ b/test/e2e/app.e2e-spec.ts @@ -7,8 +7,9 @@ describe('test-project App', () => { page = new TestProjectPage(); }); - it('should display welcome message', () => { + it('should display welcome message', async (done) => { page.navigateTo(); - expect(page.getParagraphText()).toEqual('Welcome to app!!'); + expect(await page.getParagraphText()).toEqual('Welcome to app!!'); + done(); }); });