From: Stephen Smith Date: Fri, 28 Oct 2022 16:44:41 +0000 (-0400) Subject: 19315: Increase timeouts for log cypress tests X-Git-Tag: 2.5.0~27^2~1 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/f80764fcac14f8915e9d20d57d50f6d53261b8a1 19315: Increase timeouts for log cypress tests Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/cypress/integration/process.spec.js b/cypress/integration/process.spec.js index 07122432..7ba3b329 100644 --- a/cypress/integration/process.spec.js +++ b/cypress/integration/process.spec.js @@ -107,7 +107,7 @@ describe('Process tests', function() { 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'); }) }); @@ -300,14 +300,14 @@ describe('Process tests', function() { 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}`); - 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'); }); });