Skip to content

Commit

Permalink
Merge pull request #84 from ProcessMaker/AddMethodInABT
Browse files Browse the repository at this point in the history
addMethodToAB
  • Loading branch information
WendyFPM authored May 28, 2024
2 parents a94cc56 + 6811ba9 commit e6b03b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/abTesting.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,12 @@ export class ABTesting {
cy.visit(url);
});
}

renameStartEventName(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);
}

}

0 comments on commit e6b03b1

Please sign in to comment.