Skip to content

Commit

Permalink
Merge pull request #362 from ProcessMaker/updTCP4-3236
Browse files Browse the repository at this point in the history
update utils TCP4-3236
  • Loading branch information
PaolaPellegrini authored Dec 19, 2024
2 parents 538edda + a03b8bc commit ea54b7b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pages/executionConnectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,19 +877,17 @@ export class ExecutionConnectors {
var Description = "TCP4-3236 Description";

//Step 1: Create process as a Template
process.publishTemplate(templateName, Description, version);
templates.createTemplatefromProcess(templateName, Description, version);

//Step 2: Review template created
cy.get("#nav-templates-tab").click();

//Step 3: Verify that template contains Pmblock and two Threads
templates.searchTemplateAndSelectOptions(templateName, "edit");
cy.reload();
request.waitUntilElementIsVisible('selector','g > text >tspan');
process.openAlternativeModeler();
cy.get('g > text >tspan').contains('PMBlock1-A').should('be.visible');
request.waitUntilElementIsVisible('selector','g > text >tspan');
cy.get('g > text >tspan').contains('SubProcess1').should('be.visible');
request.waitUntilElementIsVisible('selector','g > text >tspan');
cy.get('g > text >tspan').contains('SubProcess2').should('be.visible');
}
actionsAndAssertionsTCP43237(nameProcess, version){
Expand Down

0 comments on commit ea54b7b

Please sign in to comment.