From 904f8f0605168301fafd64936756607b0439d41c Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Tue, 6 Sep 2022 13:12:07 -0400 Subject: [PATCH] 19315: Add new test for process details Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- cypress/integration/process.spec.js | 16 ++++++++++++++++ .../process-panel/process-details-attributes.tsx | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) 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 })( - + } /> -- 2.30.2