mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
fixing e2e test error
This commit is contained in:
parent
dc3a97ac6c
commit
b7c8570249
@ -7,8 +7,9 @@ describe('test-project App', () => {
|
|||||||
page = new TestProjectPage();
|
page = new TestProjectPage();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should display welcome message', () => {
|
it('should display welcome message', async (done) => {
|
||||||
page.navigateTo();
|
page.navigateTo();
|
||||||
expect(page.getParagraphText()).toEqual('Welcome to app!!');
|
expect(await page.getParagraphText()).toEqual('Welcome to app!!');
|
||||||
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user