test(site): assenta navegação do cenário mobile

This commit is contained in:
Francisco Solla 2026-08-16 00:51:38 -03:00
parent 98b1f5c089
commit b6be493cdf

View file

@ -76,6 +76,7 @@ test.describe('Frontend', () => {
}) => {
await page.setViewportSize({ width: 320, height: 568 })
await page.goto('/')
await expect(page).toHaveURL(/\/$/)
const hero = page.locator('[data-home-section="hero"]')
const subtitleBox = await hero.locator('p').first().boundingBox()