test(e2e): update e2e tests for screenshot (#16056)

This commit is contained in:
Adam Bradley
2018-10-23 23:56:40 -05:00
committed by GitHub
parent 02ef52b85c
commit d800c48734
12 changed files with 19 additions and 4 deletions

View File

@ -10,6 +10,7 @@ it('loading: standalone', async () => {
expect(loading).not.toBeNull();
await loading.waitForVisible();
await page.waitFor(500);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();

View File

@ -39,7 +39,7 @@
await loadingController.componentOnReady();
const loadingElement = await loadingController.create({
message: 'Hellooo',
duration: 2000
duration: 5000
});
return await loadingElement.present();
}