test(e2e): assert municipality omnibox instead of Ordenado por label

This commit is contained in:
Cursor Agent 2026-08-02 19:23:04 +00:00
parent 3647e8d091
commit d64b700872
No known key found for this signature in database

View file

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