19315: Add new test for process details
[arvados-workbench2.git] / cypress / integration / process.spec.js
index 84c786bdef42e74f7eb2f85060bf789d0bf7aa67..bb7492e1802b98593ea586480b3d4838385ff3e0 100644 (file)
@@ -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',