Update UserManagementTests.cs (#1705)

This commit is contained in:
Leendert de Borst
2026-02-14 22:33:57 +01:00
committed by Leendert de Borst
parent 9e459fc664
commit bdf128ed47

View File

@@ -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);