From df02e3371ae205a5d669f1cf169e4947e67c4db9 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Thu, 13 Aug 2026 15:17:49 -0300 Subject: [PATCH] style(C139): prettier no spec campaignContacts --- tests/e2e/campaignContacts.e2e.spec.ts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tests/e2e/campaignContacts.e2e.spec.ts b/tests/e2e/campaignContacts.e2e.spec.ts index 4e73438d..2afd5b34 100644 --- a/tests/e2e/campaignContacts.e2e.spec.ts +++ b/tests/e2e/campaignContacts.e2e.spec.ts @@ -186,9 +186,7 @@ test.describe('Contatos — página da entidade Contact', () => { await persisted await expect(dialog).toBeHidden() - const card = page - .locator('[data-view="mobile-cards"] li') - .filter({ hasText: contactName }) + const card = page.locator('[data-view="mobile-cards"] li').filter({ hasText: contactName }) await expect(card).toBeVisible() await expect(card).toContainText('BA') @@ -216,7 +214,12 @@ test.describe('Contatos — página da entidade Contact', () => { const targetName = uiName(fixtures, 'Ficha Editada') const target = await fixtures.payload.create({ collection: 'contact', - data: { name: targetName, phones: [{ value: fixtures.phone() }], state: 'BA', city: 'Salvador' }, + data: { + name: targetName, + phones: [{ value: fixtures.phone() }], + state: 'BA', + city: 'Salvador', + }, depth: 0, }) // The conflict target: a letters-only name that already exists. @@ -260,7 +263,11 @@ test.describe('Contatos — página da entidade Contact', () => { const card = page.locator('[data-view="mobile-cards"] li').filter({ hasText: targetName }) await expect(card).toContainText('Feira de Santana · BA') - const stored = await fixtures.payload.findByID({ collection: 'contact', id: target.id, depth: 0 }) + const stored = await fixtures.payload.findByID({ + collection: 'contact', + id: target.id, + depth: 0, + }) expect(stored.city).toBe('Feira de Santana') expect(stored.name).toBe(targetName) })