mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 21:53:06 +00:00
fix(e2e): B118 mobile pin expects Filtrar municípios (B120)
Desktop Buscar município stays md+; mobile viewport asserts the filter combobox label instead.
This commit is contained in:
parent
d221494994
commit
3e81269971
1 changed files with 3 additions and 1 deletions
|
|
@ -56,7 +56,9 @@ test.describe('Municípios — list header mobile (B118)', () => {
|
|||
expect(headingBox?.height ?? 0).toBeLessThanOrEqual(2)
|
||||
await expect(page.locator('header p')).toBeHidden()
|
||||
await expect(page.locator('[data-scope="campaign"]')).toBeHidden()
|
||||
await expect(page.getByLabel('Buscar município')).toBeVisible()
|
||||
// B120: mobile uses the filter combobox; desktop search stays md+ only.
|
||||
await expect(page.getByLabel('Filtrar municípios')).toBeVisible()
|
||||
await expect(page.getByLabel('Buscar município')).toBeHidden()
|
||||
await expect(page.getByText(/\d+ municípios encontrados/)).toBeVisible()
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue