Skip to content

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

Update tests (#80)

Leendert de Borst1b2a6029bb32
diff --git a/src/Tests/AliasVault.E2ETests/Tests/Client/TwoFactorAuthTests.cs b/src/Tests/AliasVault.E2ETests/Tests/Client/TwoFactorAuthTests.cs
index a66246f06..4c5b261f3 100644
--- a/src/Tests/AliasVault.E2ETests/Tests/Client/TwoFactorAuthTests.cs
+++ b/src/Tests/AliasVault.E2ETests/Tests/Client/TwoFactorAuthTests.cs
@@ -26,7 +26,7 @@ public class TwoFactorAuthTests : ClientPlaywrightTest
// Setup two-factor auth.
await NavigateUsingBlazorRouter("settings/security");
- await WaitForUrlAsync("settings/security", "Two-factor Authentication");
+ await WaitForUrlAsync("settings/security", "Two-factor authentication");
// Press the enable button with text "Enable Two-Factor Authentication"
var enableButton = Page.Locator("button:has-text('Enable Two-Factor Authentication')");
@@ -195,7 +195,7 @@ public class TwoFactorAuthTests : ClientPlaywrightTest
{
// Ensure that two factor auth is not enabled (in case the test is run after the previous test).
await NavigateUsingBlazorRouter("settings/security");
- await WaitForUrlAsync("settings/security", "Two-factor Authentication");
+ await WaitForUrlAsync("settings/security", "Two factor authentication is currently");
// Check if two factor auth is enabled.
var enableButton = Page.Locator("button:has-text('Enable Two-Factor Authentication')");