From d64b700872d5f89cf726f8a6ae7f8734c6aa426f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 19:23:04 +0000 Subject: [PATCH] test(e2e): assert municipality omnibox instead of Ordenado por label --- tests/e2e/campaignMunicipalities.e2e.spec.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/e2e/campaignMunicipalities.e2e.spec.ts b/tests/e2e/campaignMunicipalities.e2e.spec.ts index b41e4b9b..9a2064f9 100644 --- a/tests/e2e/campaignMunicipalities.e2e.spec.ts +++ b/tests/e2e/campaignMunicipalities.e2e.spec.ts @@ -40,12 +40,9 @@ test.describe('Municípios — jornadas por papel', () => { await page.goto(`${campaign.baseURL}/campanha/municipios`) await expect(campaignPageChrome(page, 'Municípios')).toBeVisible() - // E9 allocation queue: the list opens on the uncovered deficit and exposes - // the freshness column the ordering is paired with. `exact` keeps this off - // the table caption, which embeds the same summary plus column glossary. - await expect( - page.getByText('Ordenado por Cobertura (maior déficit primeiro)', { exact: true }), - ).toBeVisible() + // B127: primary filter entry is the omnibox; default sort is no longer a + // free-standing "Ordenado por …" line (only a non-default sort chip). + await expect(page.getByLabel('Filtrar municípios')).toBeVisible() await expect( page.getByRole('columnheader', { name: /Ordenar por Frescor do sinal/ }), ).toBeVisible()