mixin-datacom.test.js 401 字节
Newer Older
H
hdx 已提交
1 2 3 4 5 6 7 8 9 10
const PAGE_PATH = '/pages/component/mixin-datacom/mixin-datacom'

describe('mixin-datacom', () => {
  let page
  beforeAll(async () => {
    page = await program.reLaunch(PAGE_PATH)
    await page.waitFor(500)
  })
  it('mixinDatacomGet', async () => {
    const datacom = await page.$('.datacom')
11 12
    const children = await datacom.$$('.list-item')
    expect(children.length > 0).toBe(true)
H
hdx 已提交
13 14
  })
})