Fix workspace policy loading

This commit is contained in:
2026-08-13 23:24:45 +02:00
parent 10edca5a09
commit 25b2835e73
8 changed files with 92 additions and 17 deletions
+2 -2
View File
@@ -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());