From a92701db682775006c47614dc9d7db3414335735 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 19:47:08 +0000 Subject: [PATCH] =?UTF-8?q?B129=20=E2=80=94=20Format=20campaignMunicipalit?= =?UTF-8?q?ies=20E2E=20spec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/campaignMunicipalities.e2e.spec.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/e2e/campaignMunicipalities.e2e.spec.ts b/tests/e2e/campaignMunicipalities.e2e.spec.ts index c94bd825..93a02f42 100644 --- a/tests/e2e/campaignMunicipalities.e2e.spec.ts +++ b/tests/e2e/campaignMunicipalities.e2e.spec.ts @@ -154,7 +154,9 @@ test.describe('Municípios — jornadas por papel', () => { await expect(campaignPageChrome(page, 'Municípios')).toBeVisible() const trendButton = page.getByRole('button', { - name: new RegExp(`^Editar tendência política em ${municipality.name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}`), + name: new RegExp( + `^Editar tendência política em ${municipality.name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}`, + ), }) await trendButton.click() const trendPopover = page.locator('[data-slot="popover-content"]') @@ -175,7 +177,9 @@ test.describe('Municípios — jornadas por papel', () => { await expect(campaignPageChrome(page, 'Municípios')).toBeVisible() await page .getByRole('button', { - name: new RegExp(`^Editar tendência política em ${municipality.name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}`), + name: new RegExp( + `^Editar tendência política em ${municipality.name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}`, + ), }) .click() const reopened = page.locator('[data-slot="popover-content"]')