mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 06:43:06 +00:00
fix(e2e): exact match in campaignPageChrome for mobile subtitles
Mobile top bar puts title + subtitle in the same chrome slot; substring
getByText('Municípios') also hit 'Os 435 municípios…'.
This commit is contained in:
parent
62673367c9
commit
8e9864362b
1 changed files with 4 additions and 0 deletions
|
|
@ -565,7 +565,11 @@ 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 }
|
||||
|
|
|
|||
Loading…
Reference in a new issue