From ffe7eca62949125266d61df0f0cf172c5e5cb7c3 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 23:33:55 +0000 Subject: [PATCH] =?UTF-8?q?test(e2e):=20assert=20assessoria=20on=20dossi?= =?UTF-8?q?=C3=AA=20tab=20after=20B145=20hero=20removal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/campaignMunicipalities.e2e.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/e2e/campaignMunicipalities.e2e.spec.ts b/tests/e2e/campaignMunicipalities.e2e.spec.ts index 2614000b..7fc2fb85 100644 --- a/tests/e2e/campaignMunicipalities.e2e.spec.ts +++ b/tests/e2e/campaignMunicipalities.e2e.spec.ts @@ -75,6 +75,9 @@ test.describe('Municípios — jornadas por papel', () => { // unique, unambiguous string rather than a bare "5.000" substring — // that also matches the (opacity-0 but DOM-visible) hover-preview span. await expect(page.getByText('Otimista: 5.000')).toBeVisible() + + // B145: assessoria left the detail hero; it still appears on the dossiê tab. + await page.goto(`${campaign.baseURL}/campanha/municipios/${municipality.slug}?tab=dossie`) await expect(page.getByText(`Assessoria: ${advisor.name}`)).toBeVisible() })