Skip to content

Commit

Permalink
code for test case TCP4-2965 TCP4-2966 TCP4-2967
Browse files Browse the repository at this point in the history
  • Loading branch information
PaolaPellegrini committed May 24, 2024
1 parent 2ff8a20 commit 5b7913e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pages/executionConnectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export class ExecutionConnectors {
}
actionsAndAssertionsOfTCP42967(processName){
const timeStamp = new Date().getTime();
let pmblockName = `${timeStamp}TCP4-2967 PM Block with Slack Connectors`;
let pmblockName = `TCP4-2967 PM Block with Slack Connectors ${timeStamp}`;
let pmblockDescription = "Description for Test Case TCP4-2967";

//Step 1: Got to Designer
Expand All @@ -231,14 +231,15 @@ export class ExecutionConnectors {
pmBlock.searchPmblockAndSelectOptions(pmblockName, "edit");

//Step 6: Verify that pmblock contain components Slack Notification
process.openAlternativeModeler();
cy.get('[data-type="processmaker.components.nodes.task.Shape"]')
.eq(1)
.contains("SlackNotification")
.should("be.visible");
}
actionsAndAssertionsOfTCP42965(processName){
const timeStamp = new Date().getTime();
let pmblockName = `${timeStamp}TCP4-2965 PM Block with Web Entry`;
let pmblockName = `TCP4-2965 PM Block with Web Entry ${timeStamp}`;
let pmblockDescription = "Description for Test Case TCP4-2965";

//Step 1: Got to Designer
Expand All @@ -257,6 +258,7 @@ export class ExecutionConnectors {
pmBlock.searchPmblockAndSelectOptions(pmblockName, "edit");

//Step 6: Verify that pmblock contain components Task Web Entry
process.openAlternativeModeler();
cy.get('[data-type="processmaker.components.nodes.task.Shape"]').eq(0).contains("WebEntry").should("be.visible");
}

Expand Down Expand Up @@ -564,7 +566,7 @@ export class ExecutionConnectors {
}
actionsAndAssertionsOfTCP42966(processName){
const timeStamp = new Date().getTime();
let pmblockName = `${timeStamp}TCP4-2966 PM Block with Decision Table`;
let pmblockName = `TCP4-2966 PM Block with Decision Table ${timeStamp}`;
let pmblockDescription = "Description for Test Case TCP4-2966";

//Step 1: Got to Designer
Expand All @@ -583,6 +585,7 @@ export class ExecutionConnectors {
pmBlock.searchPmblockAndSelectOptions(pmblockName, "edit");

//Step 6: Verify that pmblock contain components IDP
process.openAlternativeModeler();
cy.get('[data-type="processmaker.components.nodes.task.Shape"]').eq(1).contains("DecisionTask").should("be.visible");
}
actionsAndAssertionsOfTCP43103(name) {
Expand Down

0 comments on commit 5b7913e

Please sign in to comment.