提交 83e64e14 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 优化 image.test.js 截图

上级 7c30d1ad
......@@ -81,7 +81,7 @@ describe('component-native-image', () => {
if (process.env.android_cpu_type === 'x86_64') return
const page = await program.navigateTo('/pages/component/image/image-mode');
await page.waitFor(1000);
const image = await program.screenshot(screenshotParams)
const image = await program.screenshot({fullPage: true})
expect(image).toSaveImageSnapshot()
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册