Add assert to UnlockTest (#60)

This commit is contained in:
Leendert de Borst
2024-06-25 23:33:41 +02:00
parent 2bee131ff4
commit 1112922731

View File

@@ -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.");
}
}