mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 23:53:05 +00:00
Harden B126 FAB e2e waits for layout chrome instead of page h1
This commit is contained in:
parent
4bb3d65c70
commit
1cab8e9539
1 changed files with 1 additions and 3 deletions
|
|
@ -427,8 +427,6 @@ test.describe('Municípios — FAB ações rápidas mobile (B126)', () => {
|
|||
await page.goto(
|
||||
`${campaign.baseURL}/campanha/municipios?q=${encodeURIComponent(municipality.name)}`,
|
||||
)
|
||||
await expect(page.getByRole('heading', { name: 'Municípios' })).toBeVisible()
|
||||
|
||||
const fab = page.getByRole('button', { name: 'Ações rápidas' })
|
||||
await expect(fab).toBeVisible()
|
||||
await expect(page.getByLabel('Buscar na campanha')).toHaveCount(0)
|
||||
|
|
@ -479,7 +477,7 @@ test.describe('Municípios — FAB overlay polish (B126)', () => {
|
|||
|
||||
await campaign.login(page, coordinator.email!, coordinator.password)
|
||||
await page.goto(`${campaign.baseURL}/campanha/municipios`)
|
||||
await expect(page.getByRole('heading', { name: 'Municípios' })).toBeVisible()
|
||||
await expect(page.getByRole('button', { name: 'Ações rápidas' })).toBeVisible()
|
||||
|
||||
await page.getByRole('button', { name: 'Ações rápidas' }).click()
|
||||
const overlay = page.locator('#CampaignQuickActionsOverlay')
|
||||
|
|
|
|||
Loading…
Reference in a new issue