Skip to content

Commit

Permalink
Merge pull request #119 from ProcessMaker/revert-118-addfillProcessVa…
Browse files Browse the repository at this point in the history
…riableInAB

Revert "addfillProcessVariableInAB"
  • Loading branch information
WendyFPM authored Jun 17, 2024
2 parents 590a427 + 6f7fd8a commit 7b49979
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pages/abTesting.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,20 +378,4 @@ export class ABTesting {
.click({ force: true })
.type("{meta+downarrow}",{force:true});
}

fillProcessVariable(variableName,value,iframeOption = 'a'){
let iframeSelector = iframeOption === 'a' ? selectors.iframeA : selectors.iframeB
switch (variableName) {
case 'Users':
cy.iframe(iframeSelector).xpath(selectors.variableNameUsers).click();
cy.iframe(iframeSelector).xpath(selectors.variableNameUsers).type(value,{delay:80}).should('have.value',value);
break;
case 'Groups':
cy.iframe(iframeSelector).xpath(selectors.variableNameGroups).click();
cy.iframe(iframeSelector).xpath(selectors.variableNameGroups).type(value,{delay:80}).should('have.value',value);
break;
default:
break;
}
}
}

0 comments on commit 7b49979

Please sign in to comment.