[arvados-workbench2] created: 2.7.0-251-g70478632
git repository hosting
git at public.arvados.org
Tue Dec 5 15:05:50 UTC 2023
at 70478632ee0785d3e91cc9860e0488d3a5e3d146 (commit)
commit 70478632ee0785d3e91cc9860e0488d3a5e3d146
Author: Stephen Smith <stephen at curii.com>
Date: Tue Dec 5 10:05:18 2023 -0500
19675: Move loginas in process spec into then of createContainerRequest
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..7f2936c7 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 => {
@@ -1399,11 +1397,16 @@ describe("Process tests", function () {
);
});
- createContainerRequest(activeUser, "test_container_request", "arvados/jobs", ["echo", "hello world"], false, "Committed").as(
- "containerRequest"
- );
+ createContainerRequest(
+ activeUser,
+ "test_container_request",
+ "arvados/jobs",
+ ["echo", "hello world"],
+ false,
+ "Committed"
+ ).then((containerRequest) => {
+ cy.loginAs(activeUser);
- cy.getAll("@containerRequest").then(function ([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