提交 c5672b02 编写于 作者: H hdx

mixin-datacom: 修复自动化测试判定条件

上级 a4d9ff8f
...@@ -8,7 +8,7 @@ describe('mixin-datacom', () => { ...@@ -8,7 +8,7 @@ describe('mixin-datacom', () => {
}) })
it('mixinDatacomGet', async () => { it('mixinDatacomGet', async () => {
const datacom = await page.$('.datacom') const datacom = await page.$('.datacom')
const childCount = await datacom.$$('.list-item') const children = await datacom.$$('.list-item')
expect(childCount > 0).toBe(true) expect(children.length > 0).toBe(true)
}) })
}) })
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册