Skip to content

Commit

Permalink
task: [Snapshot test - Part 9] Shared Lending Platform - Institution …
Browse files Browse the repository at this point in the history
…Profile
  • Loading branch information
meissadia committed Dec 9, 2024
1 parent 40787ae commit cf4c71f
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 cf4c71f

Please sign in to comment.