From 9183367d596ef3082d0e81ec459c9813ed69e805 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Thu, 1 Dec 2022 14:04:41 -0500 Subject: [PATCH] 19700: Update cypress to test for file url input Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- cypress/integration/process.spec.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cypress/integration/process.spec.js b/cypress/integration/process.spec.js index 732310f7..f4461b75 100644 --- a/cypress/integration/process.spec.js +++ b/cypress/integration/process.spec.js @@ -632,6 +632,19 @@ describe('Process tests', function() { "$include": "include_path" } } + }, + { + definition: { + "id": "#main/input_file_url", + "type": "File" + }, + input: { + "input_file_url": { + "basename": "index.html", + "class": "File", + "location": "http://example.com/index.html" + } + } } ]; @@ -1022,6 +1035,7 @@ describe('Process tests', function() { verifyIOParameter('input_string_include', null, null, "Cannot display value"); verifyIOParameter('input_file_include', null, null, "Cannot display value"); verifyIOParameter('input_directory_include', null, null, "Cannot display value"); + verifyIOParameter('input_file_url', null, null, "http://example.com/index.html"); }); cy.get('[data-cy=process-io-card] h6').contains('Outputs') .parents('[data-cy=process-io-card]').within((ctx) => { -- 2.30.2