Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add wait to email decryption tests (#1404)
Leendert de Borste61ec225e3fb
diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard1/EmailDecryptionTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard1/EmailDecryptionTests.csindex 0046b22d8..2912fb5b0 100644--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard1/EmailDecryptionTests.cs+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard1/EmailDecryptionTests.cs@@ -396,6 +396,9 @@ public class EmailDecryptionTests : ClientPlaywrightTest// Delete the first credential.await DeleteItemEntry(serviceName1);+ // Wait for background sync to complete (delete uses background sync).+ await Task.Delay(1000);+// Assert that the first claim is now disabled, and second still enabled.claim1 = await ApiDbContext.UserEmailClaims.AsNoTracking().FirstAsync(x => x.Address == email1);claim2 = await ApiDbContext.UserEmailClaims.AsNoTracking().FirstAsync(x => x.Address == email2);