Skip to content

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

Update tests (#177)

Leendert de Borst8e2468657825
diff --git a/src/AliasVault.Client/Main/Pages/Welcome.razor b/src/AliasVault.Client/Main/Pages/Welcome.razor
index e389a45d2..2f975ad25 100644
--- a/src/AliasVault.Client/Main/Pages/Welcome.razor
+++ b/src/AliasVault.Client/Main/Pages/Welcome.razor
@@ -2,7 +2,7 @@
@inherits MainBase
<div class="bg-gray-100 dark:bg-gray-900 flex flex-col lg:items-center lg:justify-center">
- <div class="w-full mx-auto lg:max-w-4xl lg:bg-white lg:dark:bg-gray-800 lg:shadow-xl lg:rounded-lg lg:overflow-hidden flex flex-col">
+ <div class="w-full mt-4 lg:mt-16 mx-auto lg:max-w-4xl lg:bg-white lg:dark:bg-gray-800 lg:shadow-xl lg:rounded-lg lg:overflow-hidden flex flex-col">
<div class="flex flex-col flex-grow">
<div class="flex-grow p-6 pt-4 lg:pt-6 lg:pb-4">
<div class="flex justify-between items-center mb-4">
diff --git a/src/AliasVault.Client/wwwroot/css/tailwind.css b/src/AliasVault.Client/wwwroot/css/tailwind.css
index 9b7627fd1..12a77dc4b 100644
--- a/src/AliasVault.Client/wwwroot/css/tailwind.css
+++ b/src/AliasVault.Client/wwwroot/css/tailwind.css
@@ -2750,6 +2750,18 @@ video {
margin-top: 0px;
}
+ .lg\:mt-12 {
+ margin-top: 3rem;
+ }
+
+ .lg\:mt-16 {
+ margin-top: 4rem;
+ }
+
+ .lg\:mt-20 {
+ margin-top: 5rem;
+ }
+
.lg\:block {
display: block;
}
@@ -2762,6 +2774,10 @@ video {
display: none;
}
+ .lg\:h-dvh {
+ height: 100dvh;
+ }
+
.lg\:min-h-screen {
min-height: 100vh;
}
diff --git a/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs b/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs
index 592a00889..4f04d30b3 100644
--- a/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs
+++ b/src/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs
@@ -382,7 +382,7 @@ public class ClientPlaywrightTest : PlaywrightTest
// Check if we get redirected to the root URL after registration which means we are logged in.
if (checkForSuccess)
{
- await WaitForUrlAsync("welcome**", "Getting Started");
+ await WaitForUrlAsync("welcome**", "Your account has been successfully created");
}
}
}
diff --git a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/TwoFactorAuthTests.cs b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/TwoFactorAuthTests.cs
index 82bdc5a13..8bcf36ad9 100644
--- a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/TwoFactorAuthTests.cs
+++ b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/TwoFactorAuthTests.cs
@@ -64,7 +64,7 @@ public class TwoFactorAuthTests : TwoFactorAuthBase
await submitButton.ClickAsync();
// Check if we get redirected to the index page.
- await WaitForUrlAsync("welcome**", "Getting Started");
+ await WaitForUrlAsync("welcome**", "Your account has been successfully created");
}
/// <summary>
@@ -107,6 +107,6 @@ public class TwoFactorAuthTests : TwoFactorAuthBase
await submitButton.ClickAsync();
// Check if we get redirected to the index page.
- await WaitForUrlAsync("welcome**", "Getting Started");
+ await WaitForUrlAsync("welcome**", "Your account has been successfully created");
}
}
diff --git a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard4/UserSetupTests.cs b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard4/UserSetupTests.cs
index 8929ed838..1b03f2d25 100644
--- a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard4/UserSetupTests.cs
+++ b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard4/UserSetupTests.cs
@@ -80,7 +80,7 @@ public class UserSetupTests : ClientPlaywrightTest
await continueButton.ClickAsync();
// Verify that we end up on the welcome page which confirms the account has been successfully created.
- await WaitForUrlAsync("welcome**", "Getting Started");
+ await WaitForUrlAsync("welcome**", "Your account has been successfully created");
}
/// <summary>