Skip to content

Commit

Permalink
Merge pull request #65 from ProcessMaker/correctTCP4-2961
Browse files Browse the repository at this point in the history
code for test case TCP4-2961
  • Loading branch information
PaolaPellegrini authored May 24, 2024
2 parents 3d6975b + fa19d4c commit f9f0e12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/executionConnectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const selectorTemplates = new Templates();
export class ExecutionConnectors {
actionsAndAssertionsOfTCP42961(processName){
const timeStamp = new Date().getTime();
let pmblockName = `${timeStamp}TCP4-2961 PM Block with Send Email`;
let pmblockName = `TCP4-2961 PM Block with Send Email ${timeStamp}`;
let pmblockDescription = "Description for Test Case TCP4-2961";

//Step 1: Got to Designer
Expand All @@ -61,6 +61,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("ComponentSendEmail").should("be.visible");
cy.get('[data-type="processmaker.components.nodes.task.Shape"]').eq(2).contains("Send Email").should("be.visible");
}
Expand Down

0 comments on commit f9f0e12

Please sign in to comment.