diff --git a/e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts b/e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts index 855365b7..7c6648a0 100644 --- a/e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts +++ b/e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts @@ -1,6 +1,7 @@ import { expect } from '@playwright/test'; import { test } from '../../fixtures/testFixture'; import { clickLinkWithRetry } from '../../utils/clickExternalLinkWithRetry'; +import { checkSnapshot } from '../../utils/snapshotTesting'; test('Institution Profile Page', async ({ page, navigateToFilingHome }) => { // Go to Profile page @@ -20,6 +21,7 @@ test('Institution Profile Page', async ({ page, navigateToFilingHome }) => { await expect(page.locator('h1'), 'h1 is correct').toContainText( 'View your financial institution profile', ); + await checkSnapshot(page); }); // Check Detail Headings diff --git a/e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts-snapshots/Institution-Profile-Page-1-chromium-darwin.png b/e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts-snapshots/Institution-Profile-Page-1-chromium-darwin.png new file mode 100644 index 00000000..4eea51d3 Binary files /dev/null and b/e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts-snapshots/Institution-Profile-Page-1-chromium-darwin.png differ diff --git a/src/pages/Filing/ViewInstitutionProfile/FinancialInstitutionDetails.tsx b/src/pages/Filing/ViewInstitutionProfile/FinancialInstitutionDetails.tsx index c6b3916c..11adc809 100644 --- a/src/pages/Filing/ViewInstitutionProfile/FinancialInstitutionDetails.tsx +++ b/src/pages/Filing/ViewInstitutionProfile/FinancialInstitutionDetails.tsx @@ -102,6 +102,7 @@ export function FinancialInstitutionDetails({ ) : ( ''