Merge branch 'main' into 19069-workflow-launching
[arvados-workbench2.git] / src / store / run-process-panel / run-process-panel-actions.test.ts
index e9191293408ff0e291860cdd9aab0de8b50582d7..3137583e35dd89c34810a0d1b514db623e68cd1f 100644 (file)
@@ -8,7 +8,7 @@ jest.mock("../navigation/navigation-action", () => ({
     navigateTo: (link: any) => link,
 }));
 
-jest.mock("~/models/process", () => ({
+jest.mock("models/process", () => ({
     createWorkflowMounts: jest.fn(),
 }));
 
@@ -116,13 +116,13 @@ describe("run-process-panel-actions", () => {
                 description: "basicFormTestDescription",
                 mounts: undefined,
                 name: "basicFormTestName",
-                outputName: undefined,
+                outputName: "Output from basicFormTestName",
                 outputPath: "/var/spool/cwl",
                 ownerUuid: "ce8i5-tpzed-yid70bw31f51234",
                 priority: 1,
                 properties: {
                     workflowName: "revsort.cwl",
-                    workflowUuid: "ce8i5-7fd4e-2tlnerdkxnl4fjt",
+                    template_uuid: "ce8i5-7fd4e-2tlnerdkxnl4fjt",
                 },
                 runtimeConstraints: {
                     API: true,
@@ -131,6 +131,7 @@ describe("run-process-panel-actions", () => {
                 },
                 schedulingParameters: { max_run_time: undefined },
                 state: "Committed",
+                useExisting: false
             });
 
             // and