Skip to content

Commit

Permalink
Merge pull request #356 from ProcessMaker/updTCP4-3218
Browse files Browse the repository at this point in the history
update test TCP4-3218 in utils
  • Loading branch information
PaolaPellegrini authored Dec 18, 2024
2 parents c52d468 + 6a005ca commit 1df94fa
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions pages/executionConnectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,9 +735,9 @@ export class ExecutionConnectors {
navHelper.navigateToProcessPage();
process.searchProcessAndSelectOptions(nameProcess,"Template");

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

//Step 2: Review template created
cy.get("#nav-templates-tab").should('be.visible').click();
templates.searchTemplateAndSelectOptions(templateName,"edit");
Expand All @@ -760,15 +760,18 @@ export class ExecutionConnectors {
}

actionsAndAssertionsTCP43218(nameProcess, version){
let timeStamp = new Date().getTime();
let templateName = `TCP4-3218-Template-${timeStamp}`
let Description = new Date().getTime()+"Description TCP4-3218";
navHelper.navigateToProcessPage();
process.searchProcessAndSelectOptions(nameProcess,"Template");
var templateName = new Date().getTime()+"TCP4-3218";
var Description = new Date().getTime()+"TCP4-3218";
//Step 1: Create process as a Template
process.publishTemplate(templateName, Description, version);

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

//Step 2: Review template created
cy.get("#nav-templates-tab").click();
templates.searchTemplateAndSelectOptions(templateName, "Config");
cy.get("#nav-templates-tab").should('be.visible').click();
templates.searchTemplateAndSelectOptions(templateName,"edit");
}
actionsAndAssertionsOfTCP43221() {
cy.reload();
Expand Down

0 comments on commit 1df94fa

Please sign in to comment.