Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Fix tests to after adding new new sync page (#74)
Leendert de Borst8c4e07849072
diff --git a/src/AliasVault.WebApp/Main/Pages/Sync/StatusMessages/Creating.razor b/src/AliasVault.WebApp/Main/Pages/Sync/StatusMessages/Creating.razorindex fb3a10642..7c295c955 100644--- a/src/AliasVault.WebApp/Main/Pages/Sync/StatusMessages/Creating.razor+++ b/src/AliasVault.WebApp/Main/Pages/Sync/StatusMessages/Creating.razor@@ -47,7 +47,7 @@private async Task MigrateDatabase(){// Simulate a delay.- await Task.Delay(3000);+ await Task.Delay(1500);// Migrate the databaseif (await DbService.MigrateDatabaseAsync())diff --git a/src/Tests/AliasVault.E2ETests/Common/PlaywrightTest.cs b/src/Tests/AliasVault.E2ETests/Common/PlaywrightTest.csindex 303796ad2..0ccf141d0 100644--- a/src/Tests/AliasVault.E2ETests/Common/PlaywrightTest.cs+++ b/src/Tests/AliasVault.E2ETests/Common/PlaywrightTest.cs@@ -258,7 +258,7 @@ public class PlaywrightTestawait submitButton.ClickAsync();// Check if we get redirected to the root URL after registration which means we are logged in.- await WaitForURLAsync(AppBaseUrl);+ await WaitForURLAsync(AppBaseUrl, "Find all of your credentials below");}private async Task SetupEnvironment()diff --git a/src/Tests/AliasVault.E2ETests/Tests/AuthTests.cs b/src/Tests/AliasVault.E2ETests/Tests/AuthTests.csindex 8f5a3a267..dccdbc6b2 100644--- a/src/Tests/AliasVault.E2ETests/Tests/AuthTests.cs+++ b/src/Tests/AliasVault.E2ETests/Tests/AuthTests.cs@@ -91,7 +91,7 @@ public class AuthTests : PlaywrightTest// Check if we get redirected when clicking on the login button.var loginButton = Page.Locator("button[type='submit']");await loginButton.ClickAsync();- await WaitForURLAsync(AppBaseUrl);+ await WaitForURLAsync(AppBaseUrl, "Find all of your credentials below");// Check if the login was successful by verifying content.var pageContent = await Page.TextContentAsync("body");