diff --git a/client/src/components/Workflow/Editor/Forms/FormDefault.test.js b/client/src/components/Workflow/Editor/Forms/FormDefault.test.js index 2a09dc0d7963..7fb84f507636 100644 --- a/client/src/components/Workflow/Editor/Forms/FormDefault.test.js +++ b/client/src/components/Workflow/Editor/Forms/FormDefault.test.js @@ -24,6 +24,7 @@ describe("FormDefault", () => { contentId: "id", annotation: "annotation", label: "label", + name: "name", type: "subworkflow", configForm: { inputs: [], @@ -42,7 +43,7 @@ describe("FormDefault", () => { it("check initial value and value change", async () => { const title = wrapper.find(".portlet-title-text").text(); - expect(title).toBe("label"); + expect(title).toBe("name"); const inputCount = wrapper.findAll("input").length; expect(inputCount).toBe(4); const outputLabelCount = wrapper.findAll("#__label__output-name").length;