mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-24 00:53:05 +00:00
B129 — Stabilize campaignPageChrome E2E helper for title + subtitle layout
This commit is contained in:
parent
5bb8bcc62b
commit
5ded385ed9
1 changed files with 5 additions and 1 deletions
|
|
@ -562,6 +562,10 @@ export const test = base.extend<CampaignE2ETestFixtures>({
|
||||||
})
|
})
|
||||||
|
|
||||||
export const campaignPageChrome = (page: Page, title: string) =>
|
export const campaignPageChrome = (page: Page, title: string) =>
|
||||||
page.locator('[data-slot="campaign-page-chrome"]').filter({ visible: true }).getByText(title)
|
page
|
||||||
|
.locator('[data-slot="campaign-page-chrome"]')
|
||||||
|
.filter({ visible: true })
|
||||||
|
.getByText(title)
|
||||||
|
.first()
|
||||||
|
|
||||||
export { expect }
|
export { expect }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue