Setup temporary visual regression testing for the design system

This commit is contained in:
Belén Albeza 2024-05-28 11:07:48 +02:00
parent c3c6879a2f
commit d4dc87a740
4 changed files with 21 additions and 2 deletions

View 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