diff --git a/src/components/campaign/shell/CampaignPageChromeText.tsx b/src/components/campaign/shell/CampaignPageChromeText.tsx index 24355d09..6f0c85ea 100644 --- a/src/components/campaign/shell/CampaignPageChromeText.tsx +++ b/src/components/campaign/shell/CampaignPageChromeText.tsx @@ -16,7 +16,7 @@ export const CampaignPageChromeText = ({ data-slot="campaign-page-chrome" className={cn('min-w-0 truncate text-sm font-medium text-foreground', className)} > - {chrome.title} + {chrome.title} {chrome.subtitle ? ( {chrome.subtitle} ) : null} @@ -26,7 +26,9 @@ export const CampaignPageChromeText = ({ return (
- {chrome.title} + + {chrome.title} + {chrome.subtitle ? ( {chrome.subtitle} ) : null} diff --git a/tests/e2e/fixtures/campaignE2EFixtures.ts b/tests/e2e/fixtures/campaignE2EFixtures.ts index de9a5f5e..b1645092 100644 --- a/tests/e2e/fixtures/campaignE2EFixtures.ts +++ b/tests/e2e/fixtures/campaignE2EFixtures.ts @@ -565,11 +565,6 @@ export const campaignPageChrome = (page: Page, title: string) => page .locator('[data-slot="campaign-page-chrome"]') .filter({ visible: true }) -<<<<<<< HEAD - .getByText(title) - .first() -======= .getByText(title, { exact: true }) ->>>>>>> ce710645 (fix(e2e): exact match in campaignPageChrome for mobile subtitles) export { expect }