Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Fix extension E2E test (#541)
Leendert de Borst75cf43aabaf4
diff --git a/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs b/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.csindex 867e65744..1bc5e7d96 100644--- a/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs+++ b/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs@@ -388,6 +388,9 @@ public class ClientPlaywrightTest : PlaywrightTestawait passwordField.FillAsync(password ?? TestUserPassword);await password2Field.FillAsync(password ?? TestUserPassword);+ // Click somewhere on the page to hide the browser extension automatic popup, otherwise checkbox below cannot be checked.+ await Page.ClickAsync("body");+// Check the terms of service checkboxvar termsCheckbox = await WaitForAndGetElement("input[id='terms']");await termsCheckbox.CheckAsync();diff --git a/src/Tests/AliasVault.E2ETests/Tests/Extensions/ChromeExtensionTests.cs b/src/Tests/AliasVault.E2ETests/Tests/Extensions/ChromeExtensionTests.csindex 97d4ed731..948a61376 100644--- a/src/Tests/AliasVault.E2ETests/Tests/Extensions/ChromeExtensionTests.cs+++ b/src/Tests/AliasVault.E2ETests/Tests/Extensions/ChromeExtensionTests.cs@@ -41,7 +41,7 @@ public class ChromeExtensionTests : ClientPlaywrightTest}/// <summary>- /// Setup the Playwright browser and context based on settings defined in appsettings.json.+ /// Set up the Playwright browser and context based on settings defined in appsettings.json./// </summary>/// <returns>Task.</returns>protected override async Task SetupPlaywrightBrowserAndContext()