mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 21:53:06 +00:00
OH14 — format offline e2e spec
This commit is contained in:
parent
12f2d97f0a
commit
80587e33c5
1 changed files with 7 additions and 1 deletions
|
|
@ -144,7 +144,13 @@ test.describe('OH12 municipality list Local', () => {
|
|||
)
|
||||
|
||||
await page.context().setOffline(true)
|
||||
await page.getByLabel('Buscar município').fill(municipality.name)
|
||||
await expect(
|
||||
page.getByText('Edição na lista disponível quando estiveres online.'),
|
||||
).toBeVisible()
|
||||
|
||||
const search = page.getByLabel('Buscar município')
|
||||
await search.fill(municipality.name)
|
||||
await search.press('Enter')
|
||||
|
||||
await expect(page.getByRole('heading', { name: 'Municípios' })).toBeVisible()
|
||||
await expect(
|
||||
|
|
|
|||
Loading…
Reference in a new issue