From cc60b82245f0eded0f235970d55fcb338194e2b9 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Wed, 5 Aug 2026 12:32:05 -0300 Subject: [PATCH] fix: force container width past 48rem in iPad test to reveal the table --- tests/e2e/campaignMunicipalityResponsiveColumns.e2e.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/e2e/campaignMunicipalityResponsiveColumns.e2e.spec.ts b/tests/e2e/campaignMunicipalityResponsiveColumns.e2e.spec.ts index 27d719e4..e49cbc3e 100644 --- a/tests/e2e/campaignMunicipalityResponsiveColumns.e2e.spec.ts +++ b/tests/e2e/campaignMunicipalityResponsiveColumns.e2e.spec.ts @@ -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()