20000: Try to improve cypress reliability
authorStephen Smith <stephen@curii.com>
Thu, 16 Feb 2023 20:56:01 +0000 (15:56 -0500)
committerStephen Smith <stephen@curii.com>
Thu, 16 Feb 2023 20:56:01 +0000 (15:56 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/process.spec.js

index 851e33950141b473bcde7649e1333211cad8207d..bd82700e0b13e32a49af2357de9552dd9b4918d6 100644 (file)
@@ -1350,8 +1350,8 @@ describe('Process tests', function() {
 
             // Navigate to process and verify cancel button
             cy.goToPath(`/processes/${containerRequest.uuid}`);
-            cy.waitForDom();
             cy.get('[data-cy=process-details]').should('contain', crOnHold);
+            cy.waitForDom();
             cy.get('[data-cy=process-details]').find('button').contains('Run');
             cy.get('[data-cy=process-cancel]').should('not.exist');
         });