From a03b8bc1f37e5a98bcb9fc1df99f8db4a97ae1d0 Mon Sep 17 00:00:00 2001 From: PaolaPellegrini Date: Thu, 19 Dec 2024 08:31:08 -0400 Subject: [PATCH] update utils TCP4-3236 --- pages/executionConnectors.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/executionConnectors.js b/pages/executionConnectors.js index ba0cca9..1c0dd09 100644 --- a/pages/executionConnectors.js +++ b/pages/executionConnectors.js @@ -877,7 +877,7 @@ 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(); @@ -885,11 +885,9 @@ export class ExecutionConnectors { //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){