test(e2e): match page chrome title without exact text on desktop

This commit is contained in:
Cursor Agent 2026-08-02 19:01:03 +00:00
parent 3d13972e48
commit 6d793026d7
No known key found for this signature in database

View file

@ -562,9 +562,6 @@ export const test = base.extend<CampaignE2ETestFixtures>({
})
export const campaignPageChrome = (page: Page, title: string) =>
page
.locator('[data-slot="campaign-page-chrome"]')
.filter({ visible: true })
.getByText(title, { exact: true })
page.locator('[data-slot="campaign-page-chrome"]').filter({ visible: true }).getByText(title)
export { expect }