fix(ui): match Omics header and compact workspace layout
This commit is contained in:
@@ -128,6 +128,8 @@ test("option A has one collapsible global context and preserves the Core draft a
|
||||
await userEvent.click(screen.getByRole("button", { name: /Working context/ }));
|
||||
expect(screen.getAllByRole("combobox", { name: "Workspace" })).toHaveLength(1);
|
||||
expect(screen.getAllByRole("combobox", { name: "Model" })).toHaveLength(1);
|
||||
expect(screen.getByRole("button", { name: "Done" }).closest(".thot-context-fields"))
|
||||
.toBe(screen.getByRole("combobox", { name: "Model" }).closest(".thot-context-fields"));
|
||||
await userEvent.selectOptions(screen.getByRole("combobox", { name: "Workspace" }), "beta");
|
||||
expect(workspacePreferences.load()).toMatchObject({ workspaceId: "beta", provider: "test", model: "test" });
|
||||
await userEvent.click(screen.getByRole("button", { name: "Done" }));
|
||||
|
||||
Reference in New Issue
Block a user