提交 d40c0162 编写于 作者: H hdx

nodes-info-test: 调整部分自动化测试仅在App平台生效

上级 9dbc5d86
...@@ -45,9 +45,12 @@ describe('nodes-info', () => { ...@@ -45,9 +45,12 @@ describe('nodes-info', () => {
expect(Math.round(nodeInfo2.height)).toBe(RECT_HEIGHT) expect(Math.round(nodeInfo2.height)).toBe(RECT_HEIGHT)
}) })
// #ifdef APP
//检测onResize获取BoundingClientRect信息是否有效 //检测onResize获取BoundingClientRect信息是否有效
it('check_resizeRectValid', async () => { it('check_resizeRectValid', async () => {
const resizeRectValid = await page.data('resizeRectValid') const resizeRectValid = await page.data('resizeRectValid')
expect(resizeRectValid).toBe(true) expect(resizeRectValid).toBe(true)
}) })
// #endif
}) })
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册