DIDView: validate DID format #176
Reference in New Issue
Block a user
Delete Branch "didview-invalid-did-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves: DIDView loading current user's info for invalid DID parameters
@@ -172,0 +182,4 @@// Should redirect to contacts pageawait expect(page).toHaveURL(/.*\/contacts$/);});Love the additional test!
@@ -172,0 +181,4 @@// Should redirect to contacts pageawait 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:
.toHaveURLexpect "/" instead of "/contacts" (expected behavior)Ran the tests again, and it passed with flying colors! I'll go ahead and merge this back.