From 3e8126997133b1385eed06a11d5fdc15e4873040 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 02:03:10 +0000 Subject: [PATCH] =?UTF-8?q?fix(e2e):=20B118=20mobile=20pin=20expects=20Fil?= =?UTF-8?q?trar=20munic=C3=ADpios=20(B120)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Desktop Buscar município stays md+; mobile viewport asserts the filter combobox label instead. --- tests/e2e/campaignMunicipalities.e2e.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/e2e/campaignMunicipalities.e2e.spec.ts b/tests/e2e/campaignMunicipalities.e2e.spec.ts index 5ceb1c6a..f314d893 100644 --- a/tests/e2e/campaignMunicipalities.e2e.spec.ts +++ b/tests/e2e/campaignMunicipalities.e2e.spec.ts @@ -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() }) })