From e16598d5e9cabf50a9ffd1301a8af747e1e7377a Mon Sep 17 00:00:00 2001 From: Madhurya Liyanage Date: Thu, 1 Jun 2023 12:16:09 +0530 Subject: [PATCH] Updates to match the new UI changes --- .../cypress/pilot/NDR_PP1/consultingfees.cy.js | 2 +- spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js | 4 ++-- .../cypress/pilot/NDR_PP1/learninganddev.cy.js | 2 +- spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js | 2 +- .../cypress/pilot/NDR_PP1/softwarelicense.cy.js | 3 +-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js index 10b61f7f..f4bafec7 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js @@ -85,7 +85,7 @@ const submitWithUser = ( // } cy.wait(5000); - //cy.get('button').contains('Return to Home', { timeout: 60000 }); + cy.contains('Process Instance Id:', { timeout: 60000 }); cy.logout(); }; diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js index 5a2579ff..374a1c05 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js @@ -90,8 +90,8 @@ const submitWithUser = ( // .click(); // } - cy.wait(10000); - // cy.get('button').contains('Return to Home', { timeout: 60000 }); + cy.wait(5000); + cy.contains('Process Instance Id:', { timeout: 60000 }); cy.logout(); }; diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js index 1c6d748d..8ad59ebc 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js @@ -85,7 +85,7 @@ const submitWithUser = ( // } cy.wait(5000); - //cy.get('button').contains('Return to Home', { timeout: 60000 }); + cy.contains('Process Instance Id:', { timeout: 60000 }); cy.logout(); }; diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js index 242b96ca..5e4385d8 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js @@ -85,7 +85,7 @@ const submitWithUser = ( // } cy.wait(5000); - //cy.get('button').contains('Return to Home', { timeout: 60000 }); + cy.contains('Process Instance Id:', { timeout: 60000 }); cy.logout(); }; diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js index 53ae6e8f..27fca6fa 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js @@ -85,8 +85,7 @@ const submitWithUser = ( } cy.wait(5000); - // cy.getBySel('return-to-home-button', { timeout: 60000 }); - //cy.get('button').contains('Return to Home', { timeout: 60000 }); + cy.contains('Process Instance Id:', { timeout: 60000 }); cy.logout(); };