fix(webui): show route-aligned skeletons from first paint (#6303)
This commit is contained in:
1 parent
af68da3280
commit
5d886fbb20
43 files changed
+1592
-213
No files matched your search
@@ -168,7 +168,8 @@ describe("Linear member access", () => {
|
||||
expect(requestMutation).toHaveBeenCalledTimes(1);
|
||||
fireEvent.click(header());
|
||||
expect(requestMutation).toHaveBeenCalledTimes(1);
|
||||
expect(screen.getByText("Finding members…")).toBeVisible();
|
||||
expect(screen.getByRole("status", { name: "Finding members…" })).toHaveAttribute("aria-busy", "true");
|
||||
expect(document.querySelectorAll("[data-member-skeleton-row]")).toHaveLength(3);
|
||||
expect(screen.getByRole("textbox", { name: "Search members" })).toBeEnabled();
|
||||
expect(header()).toBeEnabled();
|
||||
expect(document.querySelector(".animate-spin")).toBeNull();
|
||||
|
||||
Reference in new issue
Block a user