mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
test(e2e): update e2e tests for screenshot (#16056)
This commit is contained in:
@ -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();
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
await loadingController.componentOnReady();
|
||||
const loadingElement = await loadingController.create({
|
||||
message: 'Hellooo',
|
||||
duration: 2000
|
||||
duration: 5000
|
||||
});
|
||||
return await loadingElement.present();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user