19315: Increase timeouts for log cypress tests
authorStephen Smith <stephen@curii.com>
Fri, 28 Oct 2022 16:44:41 +0000 (12:44 -0400)
committerStephen Smith <stephen@curii.com>
Fri, 28 Oct 2022 16:44:41 +0000 (12:44 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/process.spec.js

index 071224323f160d217fb923b860d64ea7a5dd7108..7ba3b329002c531600182d6c4cd189535d952dd8 100644 (file)
@@ -107,7 +107,7 @@ describe('Process tests', function() {
                 event_type: 'stdout'
             }).then(function(log) {
                 cy.get('[data-cy=process-logs]')
                 event_type: 'stdout'
             }).then(function(log) {
                 cy.get('[data-cy=process-logs]')
-                    .should('not.contain', 'No logs yet')
+                    .should('not.contain', 'No logs yet', {timeout: 7000})
                     .and('contain', 'hello world');
             })
         });
                     .and('contain', 'hello world');
             })
         });
@@ -300,14 +300,14 @@ describe('Process tests', function() {
 
         cy.getAll('@containerRequest').then(function([containerRequest]) {
             cy.goToPath(`/processes/${containerRequest.uuid}`);
 
         cy.getAll('@containerRequest').then(function([containerRequest]) {
             cy.goToPath(`/processes/${containerRequest.uuid}`);
-            cy.get('[data-cy=process-runtime-status-retry-warning]')
+            cy.get('[data-cy=process-runtime-status-retry-warning]', {timeout: 7000})
                 .should('contain', 'Process retried 1 time');
         });
 
         cy.getAll('@containerRequest').then(function([containerRequest]) {
             containerCount = 3;
             cy.goToPath(`/processes/${containerRequest.uuid}`);
                 .should('contain', 'Process retried 1 time');
         });
 
         cy.getAll('@containerRequest').then(function([containerRequest]) {
             containerCount = 3;
             cy.goToPath(`/processes/${containerRequest.uuid}`);
-            cy.get('[data-cy=process-runtime-status-retry-warning]')
+            cy.get('[data-cy=process-runtime-status-retry-warning]', {timeout: 7000})
                 .should('contain', 'Process retried 2 times');
         });
     });
                 .should('contain', 'Process retried 2 times');
         });
     });