From f15f6c31dc4eb0c606e448fdee1391bfb877c007 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Fri, 28 Oct 2022 13:13:51 -0400 Subject: [PATCH] 19315: Correctly specify cypress timeout and imcrease timeout to process log test Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- cypress/integration/process.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/integration/process.spec.js b/cypress/integration/process.spec.js index 7ba3b329..c8a510bf 100644 --- a/cypress/integration/process.spec.js +++ b/cypress/integration/process.spec.js @@ -106,8 +106,8 @@ describe('Process tests', function() { }, event_type: 'stdout' }).then(function(log) { - cy.get('[data-cy=process-logs]') - .should('not.contain', 'No logs yet', {timeout: 7000}) + cy.get('[data-cy=process-logs]', {timeout: 7000}) + .should('not.contain', 'No logs yet') .and('contain', 'hello world'); }) }); @@ -206,7 +206,7 @@ describe('Process tests', function() { cy.loginAs(activeUser); cy.goToPath(`/processes/${containerRequest.uuid}`); // Should show main logs by default - cy.get('[data-cy=process-logs-filter]').should('contain', 'Main logs'); + cy.get('[data-cy=process-logs-filter]', {timeout: 7000}).should('contain', 'Main logs'); cy.get('[data-cy=process-logs]') .should('contain', stdoutLogs[Math.floor(Math.random() * stdoutLogs.length)]) .and('not.contain', nodeInfoLogs[Math.floor(Math.random() * nodeInfoLogs.length)]) -- 2.30.2