提交 e1be80ff 编写于 作者: Anne_LXM's avatar Anne_LXM

test(picker-view):修复web端测试例报错问题

上级 bd40ec2a
...@@ -93,7 +93,7 @@ describe('PickerView.uvue', () => { ...@@ -93,7 +93,7 @@ describe('PickerView.uvue', () => {
await page.setData({ await page.setData({
maskClass: "mask-test" maskClass: "mask-test"
}) })
expect(await pickerViewEl.attribute(isMP ? 'mask-class' : maskClass)).toBe("mask-test") expect(await pickerViewEl.attribute(isMP ? 'mask-class' : 'maskClass')).toBe("mask-test")
await toScreenshot('picker-view-web-mask-class') await toScreenshot('picker-view-web-mask-class')
}) })
return return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册