diff --git a/addons/html_builder/static/tests/block_tab/snippet_groups.test.js b/addons/html_builder/static/tests/block_tab/snippet_groups.test.js index 4cb0a7ba50dc4..427a2c34c0fcf 100644 --- a/addons/html_builder/static/tests/block_tab/snippet_groups.test.js +++ b/addons/html_builder/static/tests/block_tab/snippet_groups.test.js @@ -14,6 +14,7 @@ import { defineWebsiteModels, getSnippetStructure, setupWebsiteBuilder, + setupWebsiteBuilderWithDummySnippet, } from "../helpers"; defineWebsiteModels(); @@ -370,27 +371,7 @@ test("drag&drop snippet structure", async () => { }); test("cancel snippet drag & drop over sidebar", async () => { - const snippetsDescription = (withName = false) => { - const name = "Test"; - return [ - { - name: name, - groupName: "a", - content: getBasicSection("Yop", { name: withName ? name : "" }), - }, - ]; - }; - - const { getEditableContent } = await setupWebsiteBuilder("", { - snippets: { - snippet_groups: [ - '