From 80587e33c5200bfaaec32758bd5209ad593e4601 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 04:41:09 +0000 Subject: [PATCH] =?UTF-8?q?OH14=20=E2=80=94=20format=20offline=20e2e=20spe?= =?UTF-8?q?c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/campaignOpsOffline.e2e.spec.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/e2e/campaignOpsOffline.e2e.spec.ts b/tests/e2e/campaignOpsOffline.e2e.spec.ts index 1d0b47c9..5174d0e1 100644 --- a/tests/e2e/campaignOpsOffline.e2e.spec.ts +++ b/tests/e2e/campaignOpsOffline.e2e.spec.ts @@ -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(