test(e2e): assert municipality omnibox instead of Ordenado por label
This commit is contained in:
parent
3647e8d091
commit
d64b700872
1 changed files with 3 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue