From: Stephen Smith Date: Tue, 6 Sep 2022 17:12:07 +0000 (-0400) Subject: 19315: Add new test for process details X-Git-Tag: 2.5.0~27^2~5 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/904f8f0605168301fafd64936756607b0439d41c 19315: Add new test for process details Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/cypress/integration/process.spec.js b/cypress/integration/process.spec.js index 84c786bd..bb7492e1 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 487f78f0..65bc6367 100644 --- a/src/views/process-panel/process-details-attributes.tsx +++ b/src/views/process-panel/process-details-attributes.tsx @@ -95,7 +95,7 @@ export const ProcessDetailsAttributes = withStyles(styles, { withTheme: true })( - + } />