From 631bbeb182365928ac4821beaa70aa4fcba1e7f4 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Fri, 18 Jul 2025 15:13:57 +0800 Subject: [PATCH] Update: locator for contact link --- test-playwright/testUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-playwright/testUtils.ts b/test-playwright/testUtils.ts index 13cced1f..8b991f50 100644 --- a/test-playwright/testUtils.ts +++ b/test-playwright/testUtils.ts @@ -63,7 +63,7 @@ export async function deleteContact(page: Page, did: string): Promise { await page.goto('./contacts'); const contactName = createContactName(did); // go to the detail page for this contact - await page.locator(`li[data-testid="contactListItem"] h2:has-text("${contactName}") + span svg.fa-circle-info`).click(); + await page.locator(`li[data-testid="contactListItem"] h2:has-text("${contactName}") + div svg.fa-circle-info`).click(); // delete the contact await page.locator('button > svg.fa-trash-can').click(); await page.locator('div[role="alert"] button:has-text("Yes")').click();