border-update.test.js 436 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
describe('css-border-update', () => {
  let page;
  let res;

  beforeAll(async () => {
    page = await program.reLaunch("/pages/CSS/border/border-update")
    await page.waitFor(600);
  });

  it('Check Border Update', async () => {
    await page.callMethod('jest_border_update')
    await page.waitFor(100)
    const image = await program.screenshot({fullPage: true});
    expect(image).toSaveImageSnapshot();
  });
});