From 2cb2f3ef3a56977405d1b48fa2722dd3fe81a49c Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Thu, 21 Aug 2025 19:07:15 +0800 Subject: [PATCH] Fix: update notice locator --- test-playwright/00-noid-tests.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-playwright/00-noid-tests.spec.ts b/test-playwright/00-noid-tests.spec.ts index 5218c330..e4b874af 100644 --- a/test-playwright/00-noid-tests.spec.ts +++ b/test-playwright/00-noid-tests.spec.ts @@ -37,7 +37,7 @@ * Key Selectors: * - Activity list: 'ul#listLatestActivity li' * - Discover list: 'ul#listDiscoverResults li' - * - Account notices: '#noticeBeforeShare', '#noticeBeforeAnnounce' + * - Account notices: '#noticeBeforeShare', '#noticeSomeoneMustRegisterYou' * - Identity details: '#sectionIdentityDetails code.truncate' * * State Verification: @@ -99,7 +99,7 @@ test('Check no-ID messaging in account', async ({ page }) => { await page.goto('./account'); // Check 'a friend needs to register you' notice - await expect(page.locator('#noticeBeforeAnnounce')).toBeVisible(); + await expect(page.locator('#noticeSomeoneMustRegisterYou')).toBeVisible(); }); test('Check ability to share contact', async ({ page }) => {