Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update tests
Leendert de Borst7cd62a5bcdc2
diff --git a/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs b/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.csindex 7c215a037..49ef62647 100644--- a/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs+++ b/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs@@ -189,7 +189,7 @@ public abstract class ClientPlaywrightTest : PlaywrightTestprotected async Task RefreshPageAndUnlockVault(){// Get current URL.- var currentUrl = Page.Url;+ var currentUrl = GetCurrentRelativeUrl();// Hard refresh the page.await Page.ReloadAsync();diff --git a/apps/server/Tests/AliasVault.E2ETests/Common/PlaywrightTest.cs b/apps/server/Tests/AliasVault.E2ETests/Common/PlaywrightTest.csindex 2d5a3dbd7..7aa0b06c9 100644--- a/apps/server/Tests/AliasVault.E2ETests/Common/PlaywrightTest.cs+++ b/apps/server/Tests/AliasVault.E2ETests/Common/PlaywrightTest.cs@@ -104,6 +104,15 @@ public abstract class PlaywrightTest}}+ /// <summary>+ /// Get the current relative URL.+ /// </summary>+ /// <returns>Current page as relative URL.</returns>+ protected string GetCurrentRelativeUrl()+ {+ return Page.Url.Replace(AppBaseUrl, string.Empty);+ }+/// <summary>/// Navigate to a relative URL using Blazor's client-side router./// </summary>diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.csindex 91c56162f..53081fe50 100644--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.cs+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.cs@@ -77,7 +77,7 @@ public class DbUpgradeTests : ClientPlaywrightTest// Soft navigate to items.await NavigateUsingBlazorRouter("items");- await WaitForUrlAsync(string.Empty, "Test credential 1");+ await WaitForUrlAsync("**", "Test credential 1");// Wait for all item cards on the page to have fully rendered.await Task.Delay(500);