diff --git a/pages/documentingProcess.js b/pages/documentingProcess.js index b6aa7f8..8dd9491 100644 --- a/pages/documentingProcess.js +++ b/pages/documentingProcess.js @@ -4,7 +4,7 @@ const navHelper = new NavigationHelper(); export class DocumentingProcess { - //Form modeler add documentation + //From modeler add documentation objectDocumentation(elementName,elementXpath,documentation){ cy.xpath(elementXpath.replace('nameElem',elementName)).first().should('be.visible').click(); cy.get('[data-cy="inspector-button"]').should('be.visible').click(); @@ -34,7 +34,7 @@ export class DocumentingProcess { cy.get(selectors.opDumentation).should('be.visible').click(); } - //Click on Document with AI + //Click on Document with AI button documentWithAI(){ cy.get(selectors.docWithAI).first().should('exist').click(); cy.xpath(selectors.modalGenerate).should('be.visible'); diff --git a/pages/processLaunchpad.js b/pages/processLaunchpad.js index 482cf4d..7ee2324 100644 --- a/pages/processLaunchpad.js +++ b/pages/processLaunchpad.js @@ -57,7 +57,7 @@ export class ProcessLaunchpad { cy.xpath(selectors.launch_startProcessButton).should("be.visible"); } clikOnElipsisMenu(){ - cy.xpath(selectors.launch_elipsis).should('be.visible').click(); + cy.xpath(selectors.launch_elipsis).first().should('be.visible').click(); } selectOptionOfElipsis(option="Edit Launchpad"){ cy.xpath(selectors.optionLaunchPad.replace("option",option)).click(); diff --git a/pages/templates.js b/pages/templates.js index 061c457..8909e60 100644 --- a/pages/templates.js +++ b/pages/templates.js @@ -45,7 +45,7 @@ export class Templates { switch (option) { case "documentation": - this.documentationTemplate(); + this.goTodocumentationTemplate(); break; case "edit": this.goToEditTemplate(); @@ -61,6 +61,9 @@ export class Templates { break; } } + goTodocumentationTemplate(){ + this.selectMenuOptionRow("Template Documentation"); + } goToEditTemplate() { this.selectMenuOptionRow("Edit Template"); }