提交 1ebaead4 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

update:调整自动化测试脚本 overflow-visible-event.uvue.test.js,适配 iOS18.0 的。

上级 f5f6f714
......@@ -63,7 +63,7 @@ describe('/pages/CSS/overflow/overflow-visible-event.uvue', () => {
await page.waitFor(1500);
await page.callMethod('jest_getParentRect')
const currentParentTop = await page.data('jest_parent_top');
const offset = 2
const offset = 4
const diff = Math.abs(currentParentTop - distance) < offset
console.log("current ", currentParentTop);
console.log("diff", diff);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册