mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-02-19 07:28:47 -05:00
Update UserManagementTests.cs (#1705)
This commit is contained in:
committed by
Leendert de Borst
parent
9e459fc664
commit
bdf128ed47
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user