projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
200085: Fix for sharing dialog, clear on blur
[arvados-workbench2.git]
/
src
/
store
/
run-process-panel
/
run-process-panel-actions.test.ts
diff --git
a/src/store/run-process-panel/run-process-panel-actions.test.ts
b/src/store/run-process-panel/run-process-panel-actions.test.ts
index e9191293408ff0e291860cdd9aab0de8b50582d7..c615f2162d0de02e1c35ce6b708edf116d85c1b1 100644
(file)
--- a/
src/store/run-process-panel/run-process-panel-actions.test.ts
+++ b/
src/store/run-process-panel/run-process-panel-actions.test.ts
@@
-8,7
+8,7
@@
jest.mock("../navigation/navigation-action", () => ({
navigateTo: (link: any) => link,
}));
navigateTo: (link: any) => link,
}));
-jest.mock("
~/
models/process", () => ({
+jest.mock("models/process", () => ({
createWorkflowMounts: jest.fn(),
}));
createWorkflowMounts: jest.fn(),
}));
@@
-66,8
+66,8
@@
describe("run-process-panel-actions", () => {
email: "test@gmail.com",
firstName: "TestFirstName",
lastName: "TestLastName",
email: "test@gmail.com",
firstName: "TestFirstName",
lastName: "TestLastName",
- uuid: "
ce8i5
-tpzed-yid70bw31f51234",
- ownerUuid: "
ce8i5
-tpzed-000000000000000",
+ uuid: "
zzzzz
-tpzed-yid70bw31f51234",
+ ownerUuid: "
zzzzz
-tpzed-000000000000000",
isAdmin: false,
isActive: true,
username: "testfirstname",
isAdmin: false,
isActive: true,
username: "testfirstname",
@@
-77,17
+77,17
@@
describe("run-process-panel-actions", () => {
},
},
runProcessPanel: {
},
},
runProcessPanel: {
- processPathname: "/projects/
ce8i5
-tpzed-yid70bw31f51234",
- processOwnerUuid: "
ce8i5
-tpzed-yid70bw31f51234",
+ processPathname: "/projects/
zzzzz
-tpzed-yid70bw31f51234",
+ processOwnerUuid: "
zzzzz
-tpzed-yid70bw31f51234",
selectedWorkflow: {
selectedWorkflow: {
- href: "/workflows/
ce8i5
-7fd4e-2tlnerdkxnl4fjt",
+ href: "/workflows/
zzzzz
-7fd4e-2tlnerdkxnl4fjt",
kind: "arvados#workflow",
etag: "8gh5xlhlgo61yqscyl1spw8tc",
kind: "arvados#workflow",
etag: "8gh5xlhlgo61yqscyl1spw8tc",
- uuid: "
ce8i5
-7fd4e-2tlnerdkxnl4fjt",
- ownerUuid: "
ce8i5
-tpzed-o4njwilpp4ov321",
+ uuid: "
zzzzz
-7fd4e-2tlnerdkxnl4fjt",
+ ownerUuid: "
zzzzz
-tpzed-o4njwilpp4ov321",
createdAt: "2020-07-15T19:40:50.296041000Z",
createdAt: "2020-07-15T19:40:50.296041000Z",
- modifiedByClientUuid: "
ce8i5
-ozdt8-libnr89sc5nq111",
- modifiedByUserUuid: "
ce8i5
-tpzed-o4njwilpp4ov321",
+ modifiedByClientUuid: "
zzzzz
-ozdt8-libnr89sc5nq111",
+ modifiedByUserUuid: "
zzzzz
-tpzed-o4njwilpp4ov321",
modifiedAt: "2020-07-15T19:40:50.296376000Z",
name: "revsort.cwl",
description:
modifiedAt: "2020-07-15T19:40:50.296376000Z",
name: "revsort.cwl",
description:
@@
-107,7
+107,7
@@
describe("run-process-panel-actions", () => {
"arvados-cwl-runner",
"--api=containers",
"--local",
"arvados-cwl-runner",
"--api=containers",
"--local",
- "--project-uuid=
ce8i5
-tpzed-yid70bw31f51234",
+ "--project-uuid=
zzzzz
-tpzed-yid70bw31f51234",
"/var/lib/cwl/workflow.json#main",
"/var/lib/cwl/cwl.input.json",
],
"/var/lib/cwl/workflow.json#main",
"/var/lib/cwl/cwl.input.json",
],
@@
-116,13
+116,13
@@
describe("run-process-panel-actions", () => {
description: "basicFormTestDescription",
mounts: undefined,
name: "basicFormTestName",
description: "basicFormTestDescription",
mounts: undefined,
name: "basicFormTestName",
- outputName:
undefined
,
+ outputName:
"Output from basicFormTestName"
,
outputPath: "/var/spool/cwl",
outputPath: "/var/spool/cwl",
- ownerUuid: "
ce8i5
-tpzed-yid70bw31f51234",
+ ownerUuid: "
zzzzz
-tpzed-yid70bw31f51234",
priority: 1,
properties: {
workflowName: "revsort.cwl",
priority: 1,
properties: {
workflowName: "revsort.cwl",
-
workflowUuid: "ce8i5
-7fd4e-2tlnerdkxnl4fjt",
+
template_uuid: "zzzzz
-7fd4e-2tlnerdkxnl4fjt",
},
runtimeConstraints: {
API: true,
},
runtimeConstraints: {
API: true,
@@
-131,6
+131,7
@@
describe("run-process-panel-actions", () => {
},
schedulingParameters: { max_run_time: undefined },
state: "Committed",
},
schedulingParameters: { max_run_time: undefined },
state: "Committed",
+ useExisting: false
});
// and
});
// and