From fa384b7ed0f10883933494dfc369fdea7b31c855 Mon Sep 17 00:00:00 2001 From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:27:33 +0100 Subject: [PATCH] add missing required prop to test --- .../src/components/Workflow/Editor/Forms/FormDefault.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;