From 6d79c59b9258a4b1db700f9da8995b7c3298b93c Mon Sep 17 00:00:00 2001 From: PaolaPellegrini <51709910+PaolaPellegrini@users.noreply.github.com> Date: Thu, 23 May 2024 21:53:44 -0400 Subject: [PATCH] code for test case TCP4-2962 --- pages/executionConnectors.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/executionConnectors.js b/pages/executionConnectors.js index 226f978..7e49c97 100644 --- a/pages/executionConnectors.js +++ b/pages/executionConnectors.js @@ -207,6 +207,7 @@ export class ExecutionConnectors { pmBlock.searchPmblockAndSelectOptions(pmblockName, "edit"); //Step 6: Verify that pmblock contain components Send Emails + process.openAlternativeModeler(); cy.get('[data-type="processmaker.components.nodes.task.Shape"]').eq(1).contains("ActionsByEmail").should("be.visible"); } actionsAndAssertionsOfTCP42967(processName){ @@ -515,7 +516,7 @@ export class ExecutionConnectors { } actionsAndAssertionsOfTCP42963(processName){ const timeStamp = new Date().getTime(); - let pmblockName = `${timeStamp}TCP4-2963 PM Block with PDF`; + let pmblockName = `TCP4-2963 PM Block with PDF ${timeStamp}`; let pmblockDescription = "Description for Test Case TCP4-2963"; //Step 1: Got to Designer @@ -534,6 +535,7 @@ export class ExecutionConnectors { pmBlock.searchPmblockAndSelectOptions(pmblockName, "edit"); //Step 6: Verify that pmblock contain components PDF Generated + process.openAlternativeModeler(); cy.get('[data-type="processmaker.components.nodes.task.Shape"]').eq(1).contains("PDF Generator").should("be.visible"); } actionsAndAssertionsOfTCP42964(processName){