mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-30 18:53:10 +00:00
test(e2e): match page chrome title without exact text on desktop
This commit is contained in:
parent
3d13972e48
commit
6d793026d7
1 changed files with 1 additions and 4 deletions
|
|
@ -562,9 +562,6 @@ export const test = base.extend<CampaignE2ETestFixtures>({
|
||||||
})
|
})
|
||||||
|
|
||||||
export const campaignPageChrome = (page: Page, title: string) =>
|
export const campaignPageChrome = (page: Page, title: string) =>
|
||||||
page
|
page.locator('[data-slot="campaign-page-chrome"]').filter({ visible: true }).getByText(title)
|
||||||
.locator('[data-slot="campaign-page-chrome"]')
|
|
||||||
.filter({ visible: true })
|
|
||||||
.getByText(title, { exact: true })
|
|
||||||
|
|
||||||
export { expect }
|
export { expect }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue