19315: Correctly specify cypress timeout and imcrease timeout to process log test 19315-process-runtime-user-rebase1
authorStephen Smith <stephen@curii.com>
Fri, 28 Oct 2022 17:13:51 +0000 (13:13 -0400)
committerStephen Smith <stephen@curii.com>
Fri, 28 Oct 2022 17:13:51 +0000 (13:13 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/process.spec.js

index 7ba3b329002c531600182d6c4cd189535d952dd8..c8a510bf3b6382f11aff1e3e2d01eb05297de073 100644 (file)
@@ -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)])