translate.test.js 445 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// uni-app自动化测试教程: https://uniapp.dcloud.net.cn/worktile/auto/hbuilderx-extension/

describe('/pages/CSS/transform/translate.uvue', () => {
	let page;
	beforeAll(async () => {
	  page = await program.reLaunch('/pages/CSS/transform/translate')
	  await page.waitFor(1000);
	});

	it("snap translate", async () => {
	  const image = await program.screenshot({
	    fullPage: true
	  })
	  expect(image).toSaveImageSnapshot()
	})
});