From 927f7b8743df91a181130328857123c72e52ebd2 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Fri, 30 Sep 2022 09:57:20 -0400 Subject: [PATCH] 16073: Update process io tests Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- cypress/integration/process.spec.js | 38 ++++++++++++++--------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/cypress/integration/process.spec.js b/cypress/integration/process.spec.js index dd7a20be..f4e57578 100644 --- a/cypress/integration/process.spec.js +++ b/cypress/integration/process.spec.js @@ -871,22 +871,22 @@ describe('Process tests', function() { .parents('[data-cy=process-io-card]').within(() => { cy.wait(2000); cy.waitForDom(); - verifyIOParameter('input_file', null, "Label Description", 'input1.tar', 'keep:00000000000000000000000000000000+01'); - verifyIOParameter('input_file', null, "Label Description", 'input1-2.txt', 'keep:00000000000000000000000000000000+01', true); - verifyIOParameter('input_file', null, "Label Description", 'input1-3.txt', 'keep:00000000000000000000000000000000+01', true); - verifyIOParameter('input_file', null, "Label Description", 'input1-4.txt', 'keep:00000000000000000000000000000000+01', true); - verifyIOParameter('input_dir', null, "Doc Description", 'No value', 'keep:11111111111111111111111111111111+01'); + verifyIOParameter('input_file', null, "Label Description", 'input1.tar', '00000000000000000000000000000000+01'); + verifyIOParameter('input_file', null, "Label Description", 'input1-2.txt', '00000000000000000000000000000000+01', true); + verifyIOParameter('input_file', null, "Label Description", 'input1-3.txt', '00000000000000000000000000000000+01', true); + verifyIOParameter('input_file', null, "Label Description", 'input1-4.txt', '00000000000000000000000000000000+01', true); + verifyIOParameter('input_dir', null, "Doc Description", 'No value', '11111111111111111111111111111111+01'); verifyIOParameter('input_bool', null, "Doc desc 1, Doc desc 2", 'true'); verifyIOParameter('input_int', null, null, '1'); verifyIOParameter('input_long', null, null, '1'); verifyIOParameter('input_float', null, null, '1.5'); verifyIOParameter('input_double', null, null, '1.3'); verifyIOParameter('input_string', null, null, 'Hello World'); - verifyIOParameter('input_file_array', null, null, 'input2.tar', 'keep:00000000000000000000000000000000+02'); - verifyIOParameter('input_file_array', null, null, 'input3.tar', 'keep:00000000000000000000000000000000+03', true); - verifyIOParameter('input_file_array', null, null, 'input3-2.txt', 'keep:00000000000000000000000000000000+03', true); - verifyIOParameter('input_dir_array', null, null, 'No value', 'keep:11111111111111111111111111111111+02'); - verifyIOParameter('input_dir_array', null, null, 'No value', 'keep:11111111111111111111111111111111+03', true); + verifyIOParameter('input_file_array', null, null, 'input2.tar', '00000000000000000000000000000000+02'); + verifyIOParameter('input_file_array', null, null, 'input3.tar', '00000000000000000000000000000000+03', true); + verifyIOParameter('input_file_array', null, null, 'input3-2.txt', '00000000000000000000000000000000+03', true); + verifyIOParameter('input_dir_array', null, null, 'No value', '11111111111111111111111111111111+02'); + verifyIOParameter('input_dir_array', null, null, 'No value', '11111111111111111111111111111111+03', true); verifyIOParameter('input_int_array', null, null, ["1", "3", "5"]); verifyIOParameter('input_long_array', null, null, ["10", "20"]); verifyIOParameter('input_float_array', null, null, ["10.2", "10.4", "10.6"]); @@ -899,22 +899,22 @@ describe('Process tests', function() { cy.waitForDom().get('[data-cy="io-preview-image-toggle"]').click(); const outPdh = testOutputCollection.portable_data_hash; - verifyIOParameter('output_file', null, "Label Description", 'cat.png', `keep:${outPdh}`); + verifyIOParameter('output_file', null, "Label Description", 'cat.png', `${outPdh}`); verifyIOParameterImage('output_file', `/c=${outPdh}/cat.png`); - verifyIOParameter('output_file_with_secondary', null, "Doc Description", 'main.dat', `keep:${outPdh}`); - verifyIOParameter('output_file_with_secondary', null, "Doc Description", 'secondary.dat', `keep:${outPdh}`, true); - verifyIOParameter('output_file_with_secondary', null, "Doc Description", 'secondary2.dat', `keep:${outPdh}`, true); - verifyIOParameter('output_dir', null, "Doc desc 1, Doc desc 2", 'outdir1', `keep:${outPdh}`); + verifyIOParameter('output_file_with_secondary', null, "Doc Description", 'main.dat', `${outPdh}`); + verifyIOParameter('output_file_with_secondary', null, "Doc Description", 'secondary.dat', `${outPdh}`, true); + verifyIOParameter('output_file_with_secondary', null, "Doc Description", 'secondary2.dat', `${outPdh}`, true); + verifyIOParameter('output_dir', null, "Doc desc 1, Doc desc 2", 'outdir1', `${outPdh}`); verifyIOParameter('output_bool', null, null, 'true'); verifyIOParameter('output_int', null, null, '1'); verifyIOParameter('output_long', null, null, '1'); verifyIOParameter('output_float', null, null, '100.5'); verifyIOParameter('output_double', null, null, '100.3'); verifyIOParameter('output_string', null, null, 'Hello output'); - verifyIOParameter('output_file_array', null, null, 'output2.tar', `keep:${outPdh}`); - verifyIOParameter('output_file_array', null, null, 'output3.tar', `keep:${outPdh}`, true); - verifyIOParameter('output_dir_array', null, null, 'outdir2', `keep:${outPdh}`); - verifyIOParameter('output_dir_array', null, null, 'outdir3', `keep:${outPdh}`, true); + verifyIOParameter('output_file_array', null, null, 'output2.tar', `${outPdh}`); + verifyIOParameter('output_file_array', null, null, 'output3.tar', `${outPdh}`, true); + verifyIOParameter('output_dir_array', null, null, 'outdir2', `${outPdh}`); + verifyIOParameter('output_dir_array', null, null, 'outdir3', `${outPdh}`, true); verifyIOParameter('output_int_array', null, null, ["10", "11", "12"]); verifyIOParameter('output_long_array', null, null, ["51", "52"]); verifyIOParameter('output_float_array', null, null, ["100.2", "100.4", "100.6"]); -- 2.30.2