19700: Update cypress to test for file url input
authorStephen Smith <stephen@curii.com>
Thu, 1 Dec 2022 19:04:41 +0000 (14:04 -0500)
committerStephen Smith <stephen@curii.com>
Thu, 1 Dec 2022 19:04:41 +0000 (14:04 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/process.spec.js

index 732310f78266afcd5e12091828b595710f5869ff..f4461b75d1231f6f557e6dbc6827a95ac052f201 100644 (file)
@@ -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) => {