[arvados-workbench2] created: 2.7.0-251-gcdce09bb
git repository hosting
git at public.arvados.org
Tue Dec 5 16:14:05 UTC 2023
at cdce09bb9ca8f422e31f87775f39e07dd975de40 (commit)
commit cdce09bb9ca8f422e31f87775f39e07dd975de40
Author: Stephen Smith <stephen at curii.com>
Date: Tue Dec 5 11:13:26 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..5cbb400a 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"
- );
+ cy.loginAs(activeUser);
- cy.getAll("@containerRequest").then(function ([containerRequest]) {
+ 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