From ca188bb03af8bd86f8b97e67bb9939cdad0f57e7 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Wed, 12 Aug 2026 15:22:03 -0300 Subject: [PATCH] =?UTF-8?q?fix(C128):=20e2e=20do=20C131=20escopa=20a=20bus?= =?UTF-8?q?ca=20=C3=A0=20c=C3=A9lula=20Lidera=20=E2=80=94=20c=C3=A9lulas?= =?UTF-8?q?=20de=20capacidade=20vazias=20agora=20s=C3=A3o=20edit=C3=A1veis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/campaignPeople.e2e.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/e2e/campaignPeople.e2e.spec.ts b/tests/e2e/campaignPeople.e2e.spec.ts index 9743ca88..5b4985fe 100644 --- a/tests/e2e/campaignPeople.e2e.spec.ts +++ b/tests/e2e/campaignPeople.e2e.spec.ts @@ -368,10 +368,12 @@ test.describe('Pessoas — lista unificada', () => { await page.goto(`${campaign.baseURL}/campanha/pessoas?q=${encodeURIComponent(contactName)}`) await expect(campaignPageChrome(page, 'Pessoas')).toBeVisible() - // A leadership-only row has a single editable capacity cell, so the Lidera - // search input is the row's only combobox. + // C128 made every empty capacity cell editable, so a leadership-only row + // now shows one combobox per capacity — scope to the Lidera cell (4th td; + // the hidden-by-default E-mail column renders no td, B197). const row = page.getByRole('row', { name: new RegExp(contactName) }) - const search = row.getByRole('combobox', { + const lideraCell = row.locator('td').nth(3) + const search = lideraCell.getByRole('combobox', { name: 'Buscar município, território de identidade ou zona eleitoral', }) await search.fill('salvador')