Skip to content

Commit

Permalink
Merge pull request #364 from ProcessMaker/updTCP4-3238
Browse files Browse the repository at this point in the history
update test TCP4-3237 in utils
  • Loading branch information
PaolaPellegrini authored Dec 19, 2024
2 parents cdee811 + 0c0ee38 commit 6e54532
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pages/executionConnectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -907,12 +907,12 @@ export class ExecutionConnectors {
cy.get('.alert > span').contains('exported').should('be.visible');
}
actionsAndAssertionsOfTCP43238(templateName) {
var timeStamp = new Date().getTime();
var processName = "TCP4-3238 Template Threads"+timeStamp;
let timeStamp = new Date().getTime();
let processName = "TCP4-3238 Template Threads"+timeStamp;
//Ste 1: Search template imported
navHelper.navigateToProcessPage();
process.clickOnAddProcess();

//Step2: Create the process from template
templates.searchTemplateFromProcess(templateName);
//Click on use Template
Expand All @@ -923,7 +923,9 @@ export class ExecutionConnectors {
//Step 3: Verify that process can be created from templated
navHelper.navigateToProcessPage();
process.searchProcessAndSelectOptions(processName,"edit");
cy.get('[data-type="processmaker.components.nodes.task.Shape"]').eq(0).contains("Sub Process").should("be.visible");
process.openAlternativeModeler();
cy.get('g > text >tspan').contains('Sub Process').should('be.visible');


}
actionsAndAssertionsOfTCP43392() {
Expand Down

0 comments on commit 6e54532

Please sign in to comment.