Skip to content

Commit

Permalink
share with user & group using the postfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it authored and Lukas Hirt committed Jul 19, 2019
1 parent 7635398 commit 1d49b58
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ module.exports = {
const webElementIdList = await this.getShareAutocompleteWebElementIdList()
webElementIdList.forEach((webElementId) => {
this.api.elementIdText(webElementId, (text) => {
// if (shareWithGroup === true) {
// sharee = sharee + groupSharePostfix
// }
if (shareWithGroup === true) {
sharee = sharee + groupSharePostfix
} else {
sharee = sharee + userSharePostfix
}

if (text.value === sharee) {
this.api
.elementIdClick(webElementId)
Expand Down

0 comments on commit 1d49b58

Please sign in to comment.