[arvados-workbench2] created: 2.7.0-251-g2336bacb

git repository hosting git at public.arvados.org
Tue Dec 5 16:12:00 UTC 2023


        at  2336bacb85fce2cdbf29ce107af62061392a79b1 (commit)


commit 2336bacb85fce2cdbf29ce107af62061392a79b1
Author: Stephen Smith <stephen at curii.com>
Date:   Tue Dec 5 11:11:37 2023 -0500

    19675: Move loginas in process spec
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/cypress/integration/process.spec.js b/cypress/integration/process.spec.js
index 438acbf1..06558925 100644
--- a/cypress/integration/process.spec.js
+++ b/cypress/integration/process.spec.js
@@ -1344,8 +1344,6 @@ describe("Process tests", function () {
             const fakeOutputUUID = "zzzzz-4zz18-abcdefghijklmno";
             const fakeOutputPDH = "11111111111111111111111111111111+99/";
 
-            cy.loginAs(activeUser);
-
             // Add output uuid and inputs to container request
             cy.intercept({ method: "GET", url: "**/arvados/v1/container_requests/*" }, req => {
                 req.reply(res => {
@@ -1403,7 +1401,16 @@ describe("Process tests", function () {
                 "containerRequest"
             );
 
-            cy.getAll("@containerRequest").then(function ([containerRequest]) {
+            cy.loginAs(activeUser);
+
+            createContainerRequest(
+                activeUser,
+                "test_container_request",
+                "arvados/jobs",
+                ["echo", "hello world"],
+                false,
+                "Committed"
+            ).then((containerRequest) => {
                 cy.goToPath(`/processes/${containerRequest.uuid}`);
                 cy.get("[data-cy=process-io-card] h6")
                     .contains("Inputs")

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list