mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-25 02:33:05 +00:00
fix: force container width past 48rem in iPad test to reveal the table
This commit is contained in:
parent
a36b0b2625
commit
cc60b82245
1 changed files with 3 additions and 0 deletions
|
|
@ -190,6 +190,9 @@ test.describe('B158 — colunas responsivas por largura do conteúdo', () => {
|
||||||
await page.setViewportSize({ width: 834, height: 1194 })
|
await page.setViewportSize({ width: 834, height: 1194 })
|
||||||
await loginWithAllColumns(page, campaign)
|
await loginWithAllColumns(page, campaign)
|
||||||
const container = municipalityContainer(page)
|
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')
|
const table = container.getByRole('table')
|
||||||
await expect(table).toBeVisible()
|
await expect(table).toBeVisible()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue