Add "user identity" display to dev tools (#33977)

* Add "user identity" display to dev tools

* Correct incorect hard-coded string in test mock

* Fix up tests
This commit is contained in:
Richard van der Hoff
2026-06-29 15:49:03 +00:00
committed by GitHub
parent c47b099025
commit d1e6bb5b52
4 changed files with 28 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@ export function createTestClient(): MatrixClient {
getOwnDeviceKeys: vi.fn().mockResolvedValue({ ed25519: "ed25519", curve25519: "curve25519" }),
getUserDeviceInfo: vi.fn().mockResolvedValue(new Map()),
getUserVerificationStatus: vi.fn(),
getUserCrossSigningKeys: vi.fn().mockResolvedValue(null),
getDeviceVerificationStatus: vi.fn(),
resetKeyBackup: vi.fn(),
isEncryptionEnabledInRoom: vi.fn().mockResolvedValue(false),
@@ -654,6 +654,14 @@ exports[`<Users /> should render a single user 1`] = `
</li>
</ul>
</section>
<section>
<h2>
Cryptographic identity
</h2>
<i>
Unknown
</i>
</section>
</div>
<div
class="mx_Dialog_buttons"