提交 7844858d 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 增加测试例之间间隔,避免互相干扰

上级 789c68ae
......@@ -270,12 +270,12 @@ const pages = [
'/pages/template/custom-long-list/custom-long-list',
'/pages/template/test-background-color-content/test-background-color-content',
'/pages/template/slider-100/slider-100',
]
if (isAndroid && isWeb) {
pages.push(
'/pages/API/get-battery-info/get-battery-info',
)
]
if (isAndroid && isWeb) {
pages.push(
'/pages/API/get-battery-info/get-battery-info',
)
}
if (isApp && !isAppWebview) {
......@@ -417,6 +417,6 @@ describe("page screenshot test", () => {
return `__pages_test__/${currentPagePath.replace(/\//g, "-").substring(1)}`
}
})
await page.waitFor(500);
await page.waitFor(800);
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册