[arvados-workbench2] updated: 2.4.0-188-gdab0ef26

git repository hosting git at public.arvados.org
Tue Sep 6 17:12:23 UTC 2022


Summary of changes:
 cypress/integration/process.spec.js                    | 16 ++++++++++++++++
 src/views/process-panel/process-details-attributes.tsx |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

       via  dab0ef26fc6ba959d60a31ce64f5a2931580d30f (commit)
      from  00c6862fba9691c50118edf33c71c780c599c478 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit dab0ef26fc6ba959d60a31ce64f5a2931580d30f
Author: Stephen Smith <stephen at curii.com>
Date:   Tue Sep 6 13:12:07 2022 -0400

    19315: Add new test for process details
    
    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 55290fa3..faf3c176 100644
--- a/cypress/integration/process.spec.js
+++ b/cypress/integration/process.spec.js
@@ -113,6 +113,22 @@ describe('Process tests', function() {
         });
     });
 
+    it('shows process details', function() {
+        const crName = 'test_container_request';
+        createContainerRequest(
+            activeUser,
+            crName,
+            'arvados/jobs',
+            ['echo', 'hello world'],
+            false, 'Committed')
+        .then(function(containerRequest) {
+            cy.loginAs(activeUser);
+            cy.goToPath(`/processes/${containerRequest.uuid}`);
+            cy.get('[data-cy=process-details]').should('contain', crName);
+            cy.get('[data-cy=process-details-attributes-runtime-user]').contains(`Active User (${activeUser.user.uuid})`);
+        });
+    });
+
     it('filters process logs by event type', function() {
         const nodeInfoLogs = [
             'Host Information',
diff --git a/src/views/process-panel/process-details-attributes.tsx b/src/views/process-panel/process-details-attributes.tsx
index 2588f7c4..a17eaef9 100644
--- a/src/views/process-panel/process-details-attributes.tsx
+++ b/src/views/process-panel/process-details-attributes.tsx
@@ -96,7 +96,7 @@ export const ProcessDetailsAttributes = withStyles(styles, { withTheme: true })(
                 <Grid item xs={12} md={mdSize}>
                     <DetailsAttribute label='Finished at' value={container ? formatDate(container.finishedAt) : "(none)"} />
                 </Grid>
-                <Grid item xs={12} md={mdSize}>
+                <Grid item xs={12} md={mdSize} data-cy="process-details-attributes-runtime-user">
                     <DetailsAttribute
                         label='Container started by' linkToUuid={container ? container.runtimeUserUuid : ""}
                         uuidEnhancer={(uuid: string) => <ResourceWithName uuid={uuid} />} />

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list