import { expect, test } from "@playwright/experimental-ct-react"; import { P26cDomainPendingSwitchVisualFixture } from "../../apps/web/app/components/screens/customer-portal/p26c-domain-interim.visual-fixture"; test.describe("VA-P26c customer portal domain-admin interim UI pixel baseline", () => { test("pending verified domain switch stays visually stable in light mode", async ({ mount, page }) => { const component = await mount(
, ); await page.evaluate(async () => { await document.fonts.ready; }); await expect(component.locator('[data-ui-id="ui.customerPortal.domainAdmin"]')).toHaveCount(1); await expect(component).toContainText("portal.acme.de"); await expect(component).toContainText("hivegrid-verification-proof-once"); await expect(component).toHaveScreenshot("va-p26c-customer-portal-domain-admin.png", { fullPage: true }); }); });