test(e2e): assert assessoria on dossiê tab after B145 hero removal

This commit is contained in:
Cursor Agent 2026-08-02 23:33:55 +00:00
parent c62fe67809
commit ffe7eca629
No known key found for this signature in database

View file

@ -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()
})