fix: force container width past 48rem in iPad test to reveal the table

This commit is contained in:
Francisco Solla 2026-08-05 12:32:05 -03:00
parent a36b0b2625
commit cc60b82245

View file

@ -190,6 +190,9 @@ test.describe('B158 — colunas responsivas por largura do conteúdo', () => {
await page.setViewportSize({ width: 834, height: 1194 })
await loginWithAllColumns(page, campaign)
const container = municipalityContainer(page)
// Force the container past 48rem on the iPad viewport — the sidebar
// normally leaves too little content width for the table to appear.
await setContainerWidth(container, 48 * REM_IN_PIXELS + 1)
const table = container.getByRole('table')
await expect(table).toBeVisible()