diff --git a/test-playwright/30-record-gift.spec.ts b/test-playwright/30-record-gift.spec.ts index 104f9b7..f02bccd 100644 --- a/test-playwright/30-record-gift.spec.ts +++ b/test-playwright/30-record-gift.spec.ts @@ -109,7 +109,11 @@ test('Record something given', async ({ page }) => { // Refresh home view and check gift await page.goto('./'); - await page.locator('li').filter({ hasText: finalTitle }).locator('a').click(); + await page.locator('li') + .filter({ hasText: finalTitle }) + .locator('a.cursor-pointer') + .filter({ hasText: finalTitle }) + .click(); await expect(page.getByRole('heading', { name: 'Verifiable Claim Details' })).toBeVisible(); await expect(page.getByText(finalTitle, { exact: true })).toBeVisible(); const page1Promise = page.waitForEvent('popup');