mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 04:59:24 +00:00
11 lines
308 B
TypeScript
11 lines
308 B
TypeScript
import { expect, test } from "@playwright/test";
|
|
|
|
// avoid VRT on CI because of difference between CI and local test env
|
|
// we can do VRT on CI if dockerize local test env
|
|
if (!process.env.CI) {
|
|
test("VRT", async ({ page }) => {
|
|
await page.goto("/");
|
|
await expect(page).toHaveScreenshot();
|
|
});
|
|
}
|