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

test(setNavigationBarColor): 优化截图区域

上级 e3e6133b
......@@ -8,7 +8,7 @@ describe("setCustomNavigationBarColor", () => {
const adbScreenShotArea = {
x: 880,
y: 0,
width: 100,
width: 60,
height: 60
};
beforeAll(async () => {
......@@ -19,7 +19,7 @@ describe("setCustomNavigationBarColor", () => {
adbScreenShotArea.height = 50
} else if (process.env.uniTestPlatformInfo.startsWith('android 12')) {
adbScreenShotArea.x = 1160
adbScreenShotArea.width = 140
adbScreenShotArea.width = 70
adbScreenShotArea.height = 80
}
await page.waitFor(1000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册