DIDView: validate DID format #176
Merged
jose
merged 8 commits from didview-invalid-did-handling
into master
2 weeks ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'didview-invalid-did-handling'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Resolves: DIDView loading current user's info for invalid DID parameters
// Should redirect to contacts page
await expect(page).toHaveURL(/.*\/contacts$/);
});
Love the additional test!
// Should redirect to contacts page
await expect(page).toHaveURL(/.*\/contacts$/);
});
Note that the test seems to go to the front page, so that may not match this test that goes to "contacts". 🤷
I fixed the tests by:
.toHaveURL
expect "/" instead of "/contacts" (expected behavior)Ran the tests again, and it passed with flying colors! I'll go ahead and merge this back.
43e7bc1c12
into master 2 weeks ago43e7bc1c12
.