mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-04 08:51:09 +01:00
Deflake ManualDeviceKeyVerificationDialog-test (#31244)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
ac0a91be9e
commit
c675453d72
@ -85,7 +85,9 @@ describe("ManualDeviceKeyVerificationDialog", () => {
|
||||
});
|
||||
|
||||
// And an error is displayed
|
||||
expect(screen.getByText("Failed to verify 'VERIFIED_DEVICEID': This device is already verified")).toBeVisible();
|
||||
await expect(
|
||||
screen.findByText("Failed to verify 'VERIFIED_DEVICEID': This device is already verified"),
|
||||
).resolves.toBeVisible();
|
||||
});
|
||||
|
||||
it("should not call crossSignDevice if device is already verified and fingerprint is wrong", async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user