Adjusting e2e tests for new loading state

This commit is contained in:
yuneng-jiang 2025-11-26 16:47:37 -08:00
parent 87b4e9ebad
commit 67f9c6cc08

View File

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