Skip to content

Commit

Permalink
Merge pull request #88 from ProcessMaker/updMethodsToABT
Browse files Browse the repository at this point in the history
updateMethodsToAB
  • Loading branch information
WendyFPM authored May 29, 2024
2 parents b0f33fd + 2721f1f commit 66f3221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/abTesting.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class ABTesting {

clickOnInspectorBtn(iframeOption = 'a') {
let iframeSelector = iframeOption === 'a' ? selectors.iframeA : selectors.iframeB
cy.iframe(iframeSelector).find(selectors.menuInspectorBtn).click();
cy.iframe(iframeSelector).find(selectors.menuInspectorBtn).click({ force:true });
}

//Publish New Version
Expand All @@ -99,6 +99,7 @@ export class ABTesting {
default:
break;
}
this.load();
this.clickOnSaveAndPublish(iframeOption);
}

Expand Down Expand Up @@ -337,7 +338,6 @@ export class ABTesting {

renameStartEventName(nameElement,newName,iframeOption = 'a'){
let iframeSelector = iframeOption === 'a' ? selectors.iframeA : selectors.iframeB
this.clickOnInspectorBtn(iframeOption);
this.clickOnStartEvent(nameElement, iframeOption);
cy.iframe(iframeSelector).xpath('//div[@id="collapse-inspector-accordion-start-event"]//input[@name="name"]').clear().type(newName);
}
Expand Down

0 comments on commit 66f3221

Please sign in to comment.