提交 6c2c2cbd 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新dialogPage自动化测试用例

上级 bc551336
......@@ -515,6 +515,23 @@ describe('dialog page', () => {
await page.waitFor(2000);
await page.callMethod('closeDialog2ForTest');
}
});
it('dialogPage androidThreeButtonNavigationTranslucent', async () => {
if (isAndroid) {
await page.callMethod('openDialog2ForTest');
await page.waitFor(1000);
await page.callMethod('setPageStyleForTest', {
androidThreeButtonNavigationTranslucent: false
});
await page.waitFor(2000);
const image = await program.screenshot({
deviceShot: true
});
expect(image).toSaveImageSnapshot();
await page.waitFor(2000);
await page.callMethod('closeDialog2ForTest');
}
});
afterAll(async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册