From e301a937f7313f712fd140453c62ef0c7bba9350 Mon Sep 17 00:00:00 2001 From: Madhurya Liyanage Date: Wed, 10 May 2023 15:24:44 +0530 Subject: [PATCH] Updated some wait values --- .../pilot/NDR_PP1/consultingfees.cy.js | 24 +++++----- .../cypress/pilot/NDR_PP1/equipment.cy.js | 36 +++++++-------- .../pilot/NDR_PP1/learninganddev.cy.js | 24 +++++----- .../cypress/pilot/NDR_PP1/otherfees.cy.js | 24 +++++----- .../pilot/NDR_PP1/softwarelicense.cy.js | 44 +++++++++---------- 5 files changed, 76 insertions(+), 76 deletions(-) diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js index 51c8027ff..cea152e81 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/consultingfees.cy.js @@ -121,8 +121,8 @@ describe.only('Consulting Fees Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -250,8 +250,8 @@ describe.only('Consulting Fees Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -379,8 +379,8 @@ describe.only('Consulting Fees Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -533,8 +533,8 @@ describe('Consulting Fees Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -701,8 +701,8 @@ describe('Consulting Fees Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -872,8 +872,8 @@ describe('Consulting Fees Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js index 2930e0253..bfa2ad502 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/equipment.cy.js @@ -125,7 +125,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -280,7 +280,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -403,7 +403,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -551,7 +551,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -659,7 +659,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -767,7 +767,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -893,7 +893,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1015,7 +1015,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1136,7 +1136,7 @@ describe.only('Equipment Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1282,7 +1282,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1476,7 +1476,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1639,7 +1639,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1828,7 +1828,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1978,7 +1978,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2128,7 +2128,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2295,7 +2295,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2458,7 +2458,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2620,7 +2620,7 @@ describe('Equipment Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js index 98a4941b6..6d543c7c9 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/learninganddev.cy.js @@ -121,7 +121,7 @@ describe.only('Learning and Development Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -229,7 +229,7 @@ describe.only('Learning and Development Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -336,7 +336,7 @@ describe.only('Learning and Development Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -462,7 +462,7 @@ describe.only('Learning and Development Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -605,7 +605,7 @@ describe.only('Learning and Development Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -712,7 +712,7 @@ describe.only('Learning and Development Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -846,7 +846,7 @@ describe('Learning and Development Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -996,7 +996,7 @@ describe('Learning and Development Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1146,7 +1146,7 @@ describe('Learning and Development Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1314,7 +1314,7 @@ describe('Learning and Development Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1499,7 +1499,7 @@ describe('Learning and Development Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1649,7 +1649,7 @@ describe('Learning and Development Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js index 0c47ac27c..bc64aa732 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/otherfees.cy.js @@ -121,8 +121,8 @@ describe.only('Other Fees Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -241,8 +241,8 @@ describe.only('Other Fees Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -348,8 +348,8 @@ describe.only('Other Fees Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -479,8 +479,8 @@ describe('Other Fees Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -639,8 +639,8 @@ describe('Other Fees Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; @@ -789,8 +789,8 @@ describe('Other Fees Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); - cy.url().then((currentUrl) => { + //cy.wait(5000); + cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks const processInstanceId = currentUrl.match(/(?<=\/tasks\/)\d+/)[0]; diff --git a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js index dbb093502..a54299a3b 100644 --- a/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js +++ b/spiffworkflow-frontend/cypress/pilot/NDR_PP1/softwarelicense.cy.js @@ -14,7 +14,7 @@ const submitWithUser = ( cy.log('=======visit find by id : '); cy.visit('/admin/process-instances/find-by-id'); cy.wait(3000); - cy.get('#process-instance-id-input').type(processInstanceId); + cy.get('#process-instance-id-input').type(processInstanceId); cy.get('button') .contains(/^Submit$/) .click(); @@ -125,7 +125,7 @@ describe.only('Software and Licenses Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(2000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -270,7 +270,7 @@ describe.only('Software and Licenses Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -378,7 +378,7 @@ describe.only('Software and Licenses Path - Without Files', () => { null, "approve" ); - + submitWithUser( infrasmeUsername, infrasmePassword, @@ -431,7 +431,7 @@ describe.only('Software and Licenses Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -538,7 +538,7 @@ describe.only('Software and Licenses Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -685,7 +685,7 @@ describe.only('Software and Licenses Path - Without Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -835,7 +835,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -967,7 +967,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1115,7 +1115,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1222,7 +1222,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1369,7 +1369,7 @@ describe('Software and Licenses Path - Without Files and with only mandatory fi { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1519,7 +1519,7 @@ describe('Software and Licenses Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1706,7 +1706,7 @@ describe('Software and Licenses Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -1898,7 +1898,7 @@ describe('Software and Licenses Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2048,7 +2048,7 @@ describe('Software and Licenses Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2238,7 +2238,7 @@ describe('Software and Licenses Path - With Files', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2430,7 +2430,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2629,7 +2629,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -2843,7 +2843,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -3014,7 +3014,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks @@ -3226,7 +3226,7 @@ describe('Software and Licenses Path - With Files and Multiple items', () => { { timeout: 60000 } ); - cy.wait(5000); + //cy.wait(5000); cy.url().then((currentUrl) => { // if url is "/tasks/8/d37c2f0f-016a-4066-b669-e0925b759560" // extract the digits after /tasks