fix(B136): pass raw boxes to grid geometry assert

This commit is contained in:
Cursor Agent 2026-08-02 23:15:27 +00:00
parent 3ac5d303e8
commit 4cbb65963b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ test.describe('Início — catálogo de ações (B45)', () => {
const actionList = actionsRegion.locator('ul[data-layout="grid-3"]')
await expect(actionList).toBeVisible()
const boxes = await collectActionBoundingBoxes(actionsRegion, staffActionLabels)
assertThreeColumnActionGrid(groupActionsByRow(boxes), 2)
assertThreeColumnActionGrid(boxes, 2)
await page.getByRole('link', { name: 'Ajustar votos', exact: true }).click()
await page.waitForURL(/\/campanha\/acoes\/atualizar-votos/)

View file

@ -522,7 +522,7 @@ test.describe('Municípios — FAB overlay polish (B126)', () => {
}
const boxes = await collectActionBoundingBoxes(actionsRegion, staffActionLabels)
assertThreeColumnActionGrid(groupActionsByRow(boxes), 2)
assertThreeColumnActionGrid(boxes, 2)
})
test('overlay labels readable and search focus hides action strip', async ({