diff --git a/test-playwright/00-noid-tests.spec.ts b/test-playwright/00-noid-tests.spec.ts index 493a2fd3..e84949df 100644 --- a/test-playwright/00-noid-tests.spec.ts +++ b/test-playwright/00-noid-tests.spec.ts @@ -180,8 +180,8 @@ test('Check invalid DID shows error and redirects', async ({ page }) => { // Should show error message about invalid DID format await expect(page.getByText(NOTIFY_CONTACT_INVALID_DID.message)).toBeVisible(); - // Should redirect to contacts page - await expect(page).toHaveURL(/.*\/contacts$/); + // Should redirect to homepage + await expect(page).toHaveURL(/.*\/$/); }); test('Check User 0 can register a random person', async ({ page }) => {