mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-14 08:53:11 +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) =>
|
||||
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 }
|
||||
|
|
|
|||
Loading…
Reference in a new issue