Adjusting e2e tests for new loading state
This commit is contained in:
parent
87b4e9ebad
commit
67f9c6cc08
@ -11,6 +11,8 @@ test.describe("User Info View", () => {
|
||||
test("should display user info when clicking on user ID", async ({
|
||||
page,
|
||||
}) => {
|
||||
// Wait for loading state to disappear
|
||||
await page.waitForSelector('text="Loading users..."', { state: "hidden" });
|
||||
// Wait for users table to load
|
||||
await page.waitForSelector("table");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user