Skip to content

Commit

Permalink
Merge branch '1062-snapshot__9-institution-profile' into 1062-snapsho…
Browse files Browse the repository at this point in the history
…t__shared-lending-platform
  • Loading branch information
meissadia committed Dec 11, 2024
2 parents 5cff835 + cf4c71f commit 45a7f7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/pages/shared-lending-platform/InstitutionProfile.spec.ts
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export function FinancialInstitutionDetails({
<DisplayField
label={InstitutionDataLabels.emailDomains}
value={formatDomains(data.domains)}
className='snapshot-ignore'
/>
) : (
''
Expand Down

0 comments on commit 45a7f7e

Please sign in to comment.