Fix workspace policy loading
This commit is contained in:
@@ -48,7 +48,7 @@ const bootstrapWorkspace = {
|
||||
},
|
||||
semantic_index: {
|
||||
...readyWorkspace.semantic_index,
|
||||
vector_store: { ...readyWorkspace.semantic_index.vector_store, collection: "bootstrap_slot" },
|
||||
vector_store: { ...readyWorkspace.semantic_index.vector_store, collection: "bootstrap-slot" },
|
||||
},
|
||||
};
|
||||
|
||||
@@ -107,7 +107,7 @@ test("saves a bootstrap draft locally for a configuration_required slot", async
|
||||
|
||||
await user.click(await screen.findByRole("button", { name: "Bootstrap slot" }));
|
||||
await user.clear(screen.getByLabelText("Vector collection"));
|
||||
await user.type(screen.getByLabelText("Vector collection"), "bootstrap_docs");
|
||||
await user.type(screen.getByLabelText("Vector collection"), "bootstrap-docs");
|
||||
await user.click(screen.getByRole("button", { name: "Save draft" }));
|
||||
|
||||
await waitFor(() => expect(screen.getByText("Draft saved in this browser.")).toBeVisible());
|
||||
|
||||
Reference in New Issue
Block a user