Skip to content

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

Update attachment tests (#1404)

Leendert de Borsta568aa7a55fb
diff --git a/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs b/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs
index 40f51662d..c0d8a51a7 100644
--- a/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs
+++ b/apps/server/Tests/AliasVault.E2ETests/Common/ClientPlaywrightTest.cs
@@ -451,6 +451,6 @@ public class ClientPlaywrightTest : PlaywrightTest
await getStartedButton.ClickAsync();
// Wait for "Find all of your items below" message to appear.
- await WaitForUrlAsync("welcome**", "Find all of your items below");
+ await WaitForUrlAsync("items**", "Find all of your items below");
}
}
diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard5/AttachmentTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard5/AttachmentTests.cs
index 690c648fc..33801d269 100644
--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard5/AttachmentTests.cs
+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard5/AttachmentTests.cs
@@ -129,8 +129,8 @@ public class AttachmentTests : ClientPlaywrightTest
{ "username", updatedUsername },
});
- // Check that the updated username and attachment name still appear on the alias page.
- var usernameElement = await Page.QuerySelectorAsync("#username");
+ // Check that the updated username and attachment name still appear on the item page.
+ var usernameElement = await Page.QuerySelectorAsync("#login-username");
Assert.That(usernameElement, Is.Not.Null, "Username element not found.");
Assert.That(await usernameElement.InputValueAsync(), Is.EqualTo(updatedUsername), "Updated username does not appear on alias page.");