mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-29 09:03:08 +00:00
test(site): assenta navegação do cenário mobile
This commit is contained in:
parent
98b1f5c089
commit
b6be493cdf
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ test.describe('Frontend', () => {
|
||||||
}) => {
|
}) => {
|
||||||
await page.setViewportSize({ width: 320, height: 568 })
|
await page.setViewportSize({ width: 320, height: 568 })
|
||||||
await page.goto('/')
|
await page.goto('/')
|
||||||
|
await expect(page).toHaveURL(/\/$/)
|
||||||
|
|
||||||
const hero = page.locator('[data-home-section="hero"]')
|
const hero = page.locator('[data-home-section="hero"]')
|
||||||
const subtitleBox = await hero.locator('p').first().boundingBox()
|
const subtitleBox = await hero.locator('p').first().boundingBox()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue