Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update tests (#773)
Leendert de Borstaf68710e4b0a
diff --git a/apps/server/AliasVault.Client/wwwroot/css/tailwind.css b/apps/server/AliasVault.Client/wwwroot/css/tailwind.cssindex 7d4920cc4..d6411e762 100644--- a/apps/server/AliasVault.Client/wwwroot/css/tailwind.css+++ b/apps/server/AliasVault.Client/wwwroot/css/tailwind.css@@ -3683,6 +3683,11 @@ video {color: rgb(187 247 208 / var(--tw-text-opacity));}+.dark\:text-blue-300:is(.dark *) {+ --tw-text-opacity: 1;+ color: rgb(147 197 253 / var(--tw-text-opacity));+}+.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder {--tw-placeholder-opacity: 1;color: rgb(156 163 175 / var(--tw-placeholder-opacity));diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/AuthTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/AuthTests.csindex 898e2437a..b25dcd5fb 100644--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/AuthTests.cs+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/AuthTests.cs@@ -29,10 +29,12 @@ public class AuthTests : AdminPlaywrightTest// Fill in the form.await Page.Locator("input[id='old-password']").FillAsync("incorrect-old-password");- await Page.Locator("input[id='new-password']").FillAsync("newnewnew");- await Page.Locator("input[id='confirm-password']").FillAsync("newnewnew");+ await Page.Locator("input[id='new-password']").FillAsync("newnewnewnew");+ await Page.Locator("input[id='confirm-password']").FillAsync("newnewnewnew");var submitButton = Page.GetByRole(AriaRole.Button, new() { Name = "Update password" });+ await submitButton.WaitForAsync(new() { State = WaitForSelectorState.Visible });+ await Expect(submitButton).ToBeEnabledAsync();await submitButton.ClickAsync();// Wait for current page to refresh and confirm message shows.@@ -56,10 +58,12 @@ public class AuthTests : AdminPlaywrightTest// Fill in the form.await Page.Locator("input[id='old-password']").FillAsync("password");- await Page.Locator("input[id='new-password']").FillAsync("newnewnew");- await Page.Locator("input[id='confirm-password']").FillAsync("newnewnew");+ await Page.Locator("input[id='new-password']").FillAsync("newnewnewnew");+ await Page.Locator("input[id='confirm-password']").FillAsync("newnewnewnew");var submitButton = Page.GetByRole(AriaRole.Button, new() { Name = "Update password" });+ await submitButton.WaitForAsync(new() { State = WaitForSelectorState.Visible });+ await Expect(submitButton).ToBeEnabledAsync();await submitButton.ClickAsync();// Wait for current page to refresh and confirm message shows.@@ -69,7 +73,7 @@ public class AuthTests : AdminPlaywrightTestAssert.That(pageContent, Does.Contain("Your password has been changed."), "No success message shown after successfully changing password.");// Set new password for next tests.- TestUserPassword = "newnewnew";+ TestUserPassword = "newnewnewnew";// Logout.await Logout();