mixin-datacom.test.js 398 字节
Newer Older
H
hdx 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
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')
    const childCount = await datacom.$$('.list-item')
    expect(childCount > 0).toBe(true)
  })
})