style: prettier e2e wizard specs

This commit is contained in:
Cursor Agent 2026-08-01 18:45:01 +00:00
parent ca18ce0f17
commit 593b2273c2
No known key found for this signature in database
2 changed files with 3 additions and 9 deletions

View file

@ -123,9 +123,7 @@ test.describe('Início — catálogo de ações (B45)', () => {
await page.getByRole('link', { name: 'Ajustar votos', exact: true }).click()
await page.waitForURL(/\/campanha\/acoes\/atualizar-votos/)
await expect(page.getByLabel('Buscar município')).toBeVisible()
await expect(
page.getByRole('region', { name: WIZARD_MUNICIPALITY_STEP_TITLE }),
).toBeVisible()
await expect(page.getByRole('region', { name: WIZARD_MUNICIPALITY_STEP_TITLE })).toBeVisible()
await page.goto('/campanha')
await page.getByRole('link', { name: 'Ver esquecidos', exact: true }).click()
@ -171,9 +169,7 @@ test.describe('Wizard — busca município (B60)', () => {
await campaign.login(page, coordinator.email!, coordinator.password)
await page.goto('/campanha/acoes/atualizar-votos')
await expect(page.getByLabel('Buscar município')).toBeVisible()
await expect(
page.getByRole('region', { name: WIZARD_MUNICIPALITY_STEP_TITLE }),
).toBeVisible()
await expect(page.getByRole('region', { name: WIZARD_MUNICIPALITY_STEP_TITLE })).toBeVisible()
const search = page.getByLabel('Buscar município')
await search.fill(municipality.name)

View file

@ -21,9 +21,7 @@ test.describe('Wizard — header mobile (B75)', () => {
await expect(topBar.getByText('Ajustar votos', { exact: true })).toBeVisible()
await expect(page.getByRole('heading', { name: WIZARD_MUNICIPALITY_STEP_TITLE })).toHaveCount(0)
await expect(page.getByLabel('Buscar município')).toBeVisible()
await expect(
page.getByRole('region', { name: WIZARD_MUNICIPALITY_STEP_TITLE }),
).toBeVisible()
await expect(page.getByRole('region', { name: WIZARD_MUNICIPALITY_STEP_TITLE })).toBeVisible()
await expect(page.getByRole('link', { name: 'Sair da ação' })).toBeVisible()
await expect(page.getByRole('link', { name: /Voltar/ })).toHaveCount(0)