mirror of
https://github.com/fsolla/teqo.git
synced 2026-12-03 13:53:06 +00:00
test(e2e): atualizar marcador do território no picker de colunas (coluna Municípios saiu na B175)
This commit is contained in:
parent
e75bb1c2f3
commit
e65534ca9b
1 changed files with 4 additions and 2 deletions
|
|
@ -69,9 +69,11 @@ test.describe('Seletor de colunas', () => {
|
||||||
|
|
||||||
// The cookie carries one key per list: another list is untouched. The
|
// The cookie carries one key per list: another list is untouched. The
|
||||||
// territories list is the honest neighbour here — its 27 rows come from
|
// territories list is the honest neighbour here — its 27 rows come from
|
||||||
// the catalog, so it never falls into an empty state.
|
// the catalog, so it never falls into an empty state. B175 removed the
|
||||||
|
// "Municípios" column (the count moved into the name), so "2022" (P0,
|
||||||
|
// always on) is the marker that the municipios cookie did not leak.
|
||||||
await page.goto('/campanha/territorios')
|
await page.goto('/campanha/territorios')
|
||||||
await expect(page.getByRole('columnheader', { name: /Municípios/ })).toBeVisible()
|
await expect(page.getByRole('columnheader', { name: /2022/ })).toBeVisible()
|
||||||
await expect(page.getByRole('button', { name: 'Mostrar ou ocultar colunas' })).toBeVisible()
|
await expect(page.getByRole('button', { name: 'Mostrar ou ocultar colunas' })).toBeVisible()
|
||||||
|
|
||||||
await page.goto('/campanha/municipios')
|
await page.goto('/campanha/municipios')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue