mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 01:16:38 +02:00
✨ Setup temporary visual regression testing for the design system
This commit is contained in:
parent
c3c6879a2f
commit
d4dc87a740
4 changed files with 21 additions and 2 deletions
10
frontend/playwright/ui/visual-specs/example.spec.js
Normal file
10
frontend/playwright/ui/visual-specs/example.spec.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { test, expect } from "@playwright/test";
|
||||
import { LoginPage } from "../pages/LoginPage";
|
||||
|
||||
test("Shows login form correctly", async ({ page }) => {
|
||||
await LoginPage.initWithLoggedOutUser(page);
|
||||
const loginPage = new LoginPage(page);
|
||||
await page.goto("/#/auth/login");
|
||||
|
||||
await expect(page).toHaveScreenshot();
|
||||
});
|
Binary file not shown.
After Width: | Height: | Size: 152 KiB |
Loading…
Add table
Add a link
Reference in a new issue