提交 c4927577 编写于 作者: 杜庆泉's avatar 杜庆泉

modal/toast/actionsction onload截图增加适当延迟

上级 4d2c365e
......@@ -13,7 +13,7 @@ describe('API-loading', () => {
it("onload-action-sheet-test", async () => {
if (isAndroid) {
await page.waitFor(500);
const res = await page.callMethod('jest_getWindowInfo')
const windowHeight = res.windowHeight * res.pixelRatio;
const windowWidth = res.windowWidth * res.pixelRatio;
......
......@@ -14,6 +14,7 @@ describe('API-loading', () => {
it("onload-modal-test", async () => {
if (isAndroid) {
await page.waitFor(500);
const res = await page.callMethod('jest_getWindowInfo')
const windowHeight = res.windowHeight * res.pixelRatio;
const windowWidth = res.windowWidth * res.pixelRatio;
......
......@@ -17,7 +17,7 @@ describe('API-toast', () => {
if (isAndroid) {
await page.waitFor(500);
const res = await page.callMethod('jest_getWindowInfo')
const windowHeight = res.windowHeight * res.pixelRatio;
const windowWidth = res.windowWidth * res.pixelRatio;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册