mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-23 06:33:06 +00:00
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 page.goto(`${campaign.baseURL}/campanha/municipios`)
|
||||||
await expect(campaignPageChrome(page, 'Municípios')).toBeVisible()
|
await expect(campaignPageChrome(page, 'Municípios')).toBeVisible()
|
||||||
|
|
||||||
// E9 allocation queue: the list opens on the uncovered deficit and exposes
|
// B127: primary filter entry is the omnibox; default sort is no longer a
|
||||||
// the freshness column the ordering is paired with. `exact` keeps this off
|
// free-standing "Ordenado por …" line (only a non-default sort chip).
|
||||||
// the table caption, which embeds the same summary plus column glossary.
|
await expect(page.getByLabel('Filtrar municípios')).toBeVisible()
|
||||||
await expect(
|
|
||||||
page.getByText('Ordenado por Cobertura (maior déficit primeiro)', { exact: true }),
|
|
||||||
).toBeVisible()
|
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole('columnheader', { name: /Ordenar por Frescor do sinal/ }),
|
page.getByRole('columnheader', { name: /Ordenar por Frescor do sinal/ }),
|
||||||
).toBeVisible()
|
).toBeVisible()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue