From 35c5ffd990931901f9a1f86220948164b6f22068 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 04:54:18 +0000 Subject: [PATCH] =?UTF-8?q?OH14=20=E2=80=94=20format=20offline=20e2e=20imp?= =?UTF-8?q?orts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/campaignOpsEstimateOutbox.e2e.spec.ts | 7 ++++++- tests/e2e/campaignOpsOffline.e2e.spec.ts | 11 +++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/e2e/campaignOpsEstimateOutbox.e2e.spec.ts b/tests/e2e/campaignOpsEstimateOutbox.e2e.spec.ts index d7f2a650..9f544373 100644 --- a/tests/e2e/campaignOpsEstimateOutbox.e2e.spec.ts +++ b/tests/e2e/campaignOpsEstimateOutbox.e2e.spec.ts @@ -1,4 +1,9 @@ -import { expect, reloadWhileOffline, test, waitForCampaignServiceWorker } from './fixtures/campaignE2EFixtures.js' +import { + expect, + reloadWhileOffline, + test, + waitForCampaignServiceWorker, +} from './fixtures/campaignE2EFixtures.js' /** Offline specs intentionally hit blocked network resources — allowlist for the guard. */ test.use({ expectedRequestFailurePaths: ['/campanha/api/ops-sync', '/favicon.ico'] }) diff --git a/tests/e2e/campaignOpsOffline.e2e.spec.ts b/tests/e2e/campaignOpsOffline.e2e.spec.ts index 6aa34c75..ca9f5eb3 100644 --- a/tests/e2e/campaignOpsOffline.e2e.spec.ts +++ b/tests/e2e/campaignOpsOffline.e2e.spec.ts @@ -1,4 +1,9 @@ -import { expect, reloadWhileOffline, test, waitForCampaignServiceWorker } from './fixtures/campaignE2EFixtures.js' +import { + expect, + reloadWhileOffline, + test, + waitForCampaignServiceWorker, +} from './fixtures/campaignE2EFixtures.js' /** Offline specs intentionally hit blocked network resources — allowlist for the guard. */ test.use({ expectedRequestFailurePaths: ['/campanha/api/ops-sync', '/favicon.ico'] }) @@ -157,7 +162,9 @@ test.describe('OH12 municipality list Local', () => { timeout: 15_000, }) - await expect(page.getByRole('heading', { name: 'Municípios', exact: true }).first()).toBeVisible() + await expect( + page.getByRole('heading', { name: 'Municípios', exact: true }).first(), + ).toBeVisible() await expect( page.getByText('Edição na lista disponível quando estiveres online.'), ).toBeVisible()