提交 929dbc62 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新dialogPage自动化测试用例

上级 39fcbe54
...@@ -310,6 +310,7 @@ describe('dialog page', () => { ...@@ -310,6 +310,7 @@ describe('dialog page', () => {
}) })
it('dialogPage hideStatusBar hideBottomNavigationIndicator', async () => { it('dialogPage hideStatusBar hideBottomNavigationIndicator', async () => {
if (isAndroid) {
await page.callMethod('openDialog2ForTest'); await page.callMethod('openDialog2ForTest');
await page.waitFor(1000); await page.waitFor(1000);
await page.callMethod('setPageStyleForTest', { await page.callMethod('setPageStyleForTest', {
...@@ -323,6 +324,7 @@ describe('dialog page', () => { ...@@ -323,6 +324,7 @@ describe('dialog page', () => {
expect(image).toSaveImageSnapshot(); expect(image).toSaveImageSnapshot();
await page.waitFor(2000); await page.waitFor(2000);
await page.callMethod('closeDialog2ForTest'); await page.callMethod('closeDialog2ForTest');
}
}); });
afterAll(async () => { afterAll(async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册