Browse Source

Test: change expected redirect view

didview-invalid-did-handling
Jose Olarte III 2 weeks ago
parent
commit
1365adad92
  1. 4
      test-playwright/00-noid-tests.spec.ts

4
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 }) => {

Loading…
Cancel
Save