variable.test.js 333 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
describe('css-variable', () => {
  let page;
  beforeAll(async () => {
    page = await program.reLaunch('/pages/CSS/variable/variable');
    await page.waitFor('view');
  });

  it('screenshot', async () => {
    const image = await program.screenshot({
      fullPage: true
    })
12
    expect(image).toSaveImageSnapshot()
13 14
  });
});