Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
import { expect, test } from "@playwright/experimental-ct-react";
|
||||
|
||||
import { PlatformLeadsInterimVisualFixture as VisualFixture } from "../../apps/web/app/components/screens/admin/leads/platform-leads-interim.visual-fixture";
|
||||
|
||||
test.describe("R-LEADS interim UI pixel baseline", () => {
|
||||
test("platform lead inbox stays visually stable in light mode", async ({ mount, page }) => {
|
||||
const component = await mount(
|
||||
<div data-testid="r-leads-platform-lead-inbox" style={{ width: "1280px", minHeight: "760px" }}>
|
||||
<VisualFixture />
|
||||
</div>
|
||||
);
|
||||
|
||||
await page.evaluate(async () => {
|
||||
await document.fonts.ready;
|
||||
});
|
||||
|
||||
await expect(component.locator('[data-ui-id="ui.admin.platformLeads.list"]')).toHaveCount(1);
|
||||
await expect(component).toHaveScreenshot("r-leads-platform-lead-inbox.png");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user