Skip to content

Commit

Permalink
Merge pull request #225 from ProcessMaker/fixFuntion
Browse files Browse the repository at this point in the history
Fix funtions
  • Loading branch information
MayraMelisa authored Sep 17, 2024
2 parents 2551579 + 0a1f023 commit ff11427
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pages/documentingProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion pages/processLaunchpad.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
5 changes: 4 additions & 1 deletion pages/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Templates {

switch (option) {
case "documentation":
this.documentationTemplate();
this.goTodocumentationTemplate();
break;
case "edit":
this.goToEditTemplate();
Expand All @@ -61,6 +61,9 @@ export class Templates {
break;
}
}
goTodocumentationTemplate(){
this.selectMenuOptionRow("Template Documentation");
}
goToEditTemplate() {
this.selectMenuOptionRow("Edit Template");
}
Expand Down

0 comments on commit ff11427

Please sign in to comment.