Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Add assert to UnlockTest (#60)

Leendert de Borst1112922731ee
diff --git a/src/Tests/AliasVault.E2ETests/Tests/UnlockTests.cs b/src/Tests/AliasVault.E2ETests/Tests/UnlockTests.cs
index 1b145ed82..3536cdd3d 100644
--- a/src/Tests/AliasVault.E2ETests/Tests/UnlockTests.cs
+++ b/src/Tests/AliasVault.E2ETests/Tests/UnlockTests.cs
@@ -45,5 +45,8 @@ public class UnlockTests : PlaywrightTest
// Check if we get redirected back to the page we were trying to access.
await WaitForURLAsync("**/" + startUrl, "AliasVault");
+
+ var pageContent = await Page.TextContentAsync("body");
+ Assert.That(pageContent, Does.Contain("Find all of your aliases below"), "No index content after unlocking database.");
}
}