“22760801dbe6c3ba2240966b11267155f8edc81f”上不存在“doc_cn/tutorials/rec/ml_regression_cn.html”
load-font-face.test.js 335 字节
Newer Older
DCloud-WZF's avatar
DCloud-WZF 已提交
1 2 3 4 5
const PAGE_PATH = '/pages/API/load-font-face/load-font-face'

describe('loadFontFace', () => {
  beforeAll(async () => {
    const page = await program.navigateTo(PAGE_PATH)
DCloud-WZF's avatar
DCloud-WZF 已提交
6
    await page.waitFor(3000)
DCloud-WZF's avatar
DCloud-WZF 已提交
7 8 9 10 11 12
  })
  it('screenshot', async () => {
    const image = await program.screenshot()
    expect(image).toMatchImageSnapshot()
  })
})