Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update CodeLockoutTests.cs (#495)
Leendert de Borstad9eb79e9eb1
diff --git a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/CodeLockoutTests.cs b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/CodeLockoutTests.csindex 1d9d309fe..9d77abab5 100644--- a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/CodeLockoutTests.cs+++ b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/CodeLockoutTests.cs@@ -54,15 +54,17 @@ public class CodeLockoutTests : TwoFactorAuthBasefor (var i = 0; i < 11; i++){await Page.Locator("input[id='two-factor-code']").FillAsync("000000");- var submitButton = Page.Locator("button[type='submit']");- await submitButton.ClickAsync();if (i == 10){break;}+ // Form should auto-submit after entering the code.await WaitForUrlAsync("user/login**", "Invalid authenticator code.");++ // Clear the input field for the next attempt.+ await Page.Locator("input[id='two-factor-code']").FillAsync(string.Empty);}// Wait for account lockout message.