From 1112922731ee6cc0b5c9ec8b2ee80978c832e41b Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Tue, 25 Jun 2024 23:33:41 +0200 Subject: [PATCH] Add assert to UnlockTest (#60) --- src/Tests/AliasVault.E2ETests/Tests/UnlockTests.cs | 3 +++ 1 file changed, 3 insertions(+) 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."); } }