From 7c555c62a44716b5499890e451e3fd6efd82f821 Mon Sep 17 00:00:00 2001 From: Madhurya Liyanage Date: Thu, 11 May 2023 12:53:26 +0530 Subject: [PATCH] Replaced cy.contains('Request Goods or Services') with cy.contains('Request Goods or Services').click(); to match the change in process start in command file --- .../pilot/NDR_PP1/consultingfees.cy.js | 16 ++++---- .../cypress/pilot/NDR_PP1/equipment.cy.js | 36 ++++++++-------- .../pilot/NDR_PP1/initiaterequest.cy.js | 26 ++++++------ .../pilot/NDR_PP1/learninganddev.cy.js | 24 +++++------ .../cypress/pilot/NDR_PP1/otherfees.cy.js | 12 +++--- .../pilot/NDR_PP1/softwarelicense.cy.js | 41 +++++++++---------- 6 files changed, 76 insertions(+), 79 deletions(-) diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js index 66d3dbf91..1ae820585 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js @@ -99,7 +99,7 @@ describe.only('Consulting Fees Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -228,7 +228,7 @@ describe.only('Consulting Fees Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -357,7 +357,7 @@ describe.only('Consulting Fees Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -511,7 +511,7 @@ describe('Consulting Fees Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -679,7 +679,7 @@ describe('Consulting Fees Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -850,7 +850,7 @@ describe('Consulting Fees Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1025,6 +1025,4 @@ describe('Consulting Fees Path - With Files', () => { }); }); -}); - - +}); \ No newline at end of file diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js index bfa2ad502..72a88f26c 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js @@ -103,7 +103,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -258,7 +258,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -381,7 +381,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -529,7 +529,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -637,7 +637,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -745,7 +745,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -871,7 +871,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -993,7 +993,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1114,7 +1114,7 @@ describe.only('Equipment Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1260,7 +1260,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1454,7 +1454,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1617,7 +1617,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1806,7 +1806,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1956,7 +1956,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2106,7 +2106,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2273,7 +2273,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2436,7 +2436,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2598,7 +2598,7 @@ describe('Equipment Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/initiaterequest.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/initiaterequest.cy.js index ba607b5cf..54b4c7adc 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/initiaterequest.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/initiaterequest.cy.js @@ -13,7 +13,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -117,7 +117,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -210,7 +210,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -342,7 +342,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -430,7 +430,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -519,7 +519,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -619,7 +619,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -709,7 +709,7 @@ describe.only('Initiate a Request - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -818,7 +818,7 @@ describe('Initiate a Request - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -965,7 +965,7 @@ describe('Initiate a Request - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1123,7 +1123,7 @@ describe('Initiate a Request - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1296,7 +1296,7 @@ describe('Initiate a Request - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1427,7 +1427,7 @@ describe('Initiate a Request - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js index 6d543c7c9..773b103a5 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js @@ -99,7 +99,7 @@ describe.only('Learning and Development Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -207,7 +207,7 @@ describe.only('Learning and Development Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -314,7 +314,7 @@ describe.only('Learning and Development Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -440,7 +440,7 @@ describe.only('Learning and Development Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -583,7 +583,7 @@ describe.only('Learning and Development Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -690,7 +690,7 @@ describe.only('Learning and Development Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -824,7 +824,7 @@ describe('Learning and Development Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -974,7 +974,7 @@ describe('Learning and Development Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1124,7 +1124,7 @@ describe('Learning and Development Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1292,7 +1292,7 @@ describe('Learning and Development Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1477,7 +1477,7 @@ describe('Learning and Development Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1627,7 +1627,7 @@ describe('Learning and Development Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js index bc64aa732..eb1f0d6ce 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js @@ -99,7 +99,7 @@ describe.only('Other Fees Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -219,7 +219,7 @@ describe.only('Other Fees Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -326,7 +326,7 @@ describe.only('Other Fees Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -457,7 +457,7 @@ describe('Other Fees Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -617,7 +617,7 @@ describe('Other Fees Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -767,7 +767,7 @@ describe('Other Fees Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js index a8ac1e5e3..7b5c5d3eb 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js @@ -235,7 +235,7 @@ describe.only('Software and Licenses Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -396,7 +396,7 @@ describe.only('Software and Licenses Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -503,7 +503,7 @@ describe.only('Software and Licenses Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -650,7 +650,7 @@ describe.only('Software and Licenses Path - Without Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -800,7 +800,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -932,7 +932,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1080,7 +1080,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1187,7 +1187,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1334,7 +1334,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1484,7 +1484,7 @@ describe('Software and Licenses Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1671,7 +1671,7 @@ describe('Software and Licenses Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -1863,7 +1863,7 @@ describe('Software and Licenses Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2013,7 +2013,7 @@ describe('Software and Licenses Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2203,7 +2203,7 @@ describe('Software and Licenses Path - With Files', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2395,7 +2395,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2594,7 +2594,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2808,7 +2808,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -2979,7 +2979,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -3191,7 +3191,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { cy.visit('/'); cy.contains('Start New +').click(); - cy.contains('Request Goods or Services'); + cy.contains('Request Goods or Services').click(); cy.runPrimaryBpmnFile(true); @@ -3386,5 +3386,4 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { }); }); -}); - +}); \ No newline at end of file