refactor: 리펙토링
This commit is contained in:
@@ -41,3 +41,14 @@ test("loading empty error and access surfaces visual contract", async ({
|
||||
"state-surfaces-light.png",
|
||||
);
|
||||
});
|
||||
|
||||
test("platform composition overview visual contract", async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1280, height: 1100 });
|
||||
await page.goto("/examples/platform");
|
||||
await expect(
|
||||
page.locator("section[aria-labelledby='platform-capabilities-title']"),
|
||||
).toBeVisible();
|
||||
await expect(page.getByRole("main")).toHaveScreenshot(
|
||||
"platform-overview-light.png",
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user