Skip to content

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

Update UserManagementTests.cs (#1705)

Leendert de Borstbdf128ed4739
diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/UserManagementTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/UserManagementTests.cs
index fd80405a8..b263f0253 100644
--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/UserManagementTests.cs
+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Admin/UserManagementTests.cs
@@ -167,9 +167,9 @@ public class UserManagementTests : AdminPlaywrightTest
await NavigateUsingBlazorRouter("users");
await WaitForUrlAsync("users", "Users");
- // Find the <a> tag in the test user's table row and click it
- var userLink = Page.Locator("tr", new() { HasText = _testUserEmail }).Locator("a");
- await userLink.ClickAsync();
+ // Click on the test user table row
+ var userRow = Page.Locator("tr", new() { HasText = _testUserEmail });
+ await userRow.ClickAsync();
// Wait for the user details page to load
await WaitForUrlAsync($"users/{_testUserId}**", _testUserEmail);