forked from trent_larson/crowd-funder-for-time-pwa
Test: change expected redirect view
This commit is contained in:
@@ -180,8 +180,8 @@ test('Check invalid DID shows error and redirects', async ({ page }) => {
|
|||||||
// Should show error message about invalid DID format
|
// Should show error message about invalid DID format
|
||||||
await expect(page.getByText(NOTIFY_CONTACT_INVALID_DID.message)).toBeVisible();
|
await expect(page.getByText(NOTIFY_CONTACT_INVALID_DID.message)).toBeVisible();
|
||||||
|
|
||||||
// Should redirect to contacts page
|
// Should redirect to homepage
|
||||||
await expect(page).toHaveURL(/.*\/contacts$/);
|
await expect(page).toHaveURL(/.*\/$/);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Check User 0 can register a random person', async ({ page }) => {
|
test('Check User 0 can register a random person', async ({ page }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user