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:
Cursor Agent 2026-08-02 02:03:10 +00:00
parent d221494994
commit 3e81269971
No known key found for this signature in database

View file

@ -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()
})
})