mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test(ui): give the skills panel's first render 5s to show the catalog (#51509)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
85afa9a1ca
commit
27d76badcd
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ const openEdit = async () => {
|
|||
it.each(["current", "retained"])("refreshes published counts after a %s download", async (kind) => {
|
||||
URL.createObjectURL = vi.fn(() => "blob:skill-download");
|
||||
renderWithProviders(<ClaudeCodePluginsPanel accessToken="admin-token" userRole="Admin" />);
|
||||
expect(await screen.findByRole("cell", { name: "0" })).toBeInTheDocument();
|
||||
expect(await screen.findByRole("cell", { name: "0" }, { timeout: 5000 })).toBeInTheDocument();
|
||||
expect(fetchMock).toHaveBeenCalledOnce();
|
||||
fireEvent.click(screen.getByText(published.name));
|
||||
await screen.findByRole("button", { name: "Edit Skill" });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue