Fix the ui tests for selecting the role of the user

This commit is contained in:
Dipak Acharya
2020-09-16 21:12:09 +05:45
parent 826a67b98d
commit e8da801512

View File

@@ -30,9 +30,12 @@ module.exports = {
util.format(this.elements.roleInRolesDropdown.selector, role)
return this
.initAjaxCounters()
.waitForElementVisible('@rolesDropdownTrigger')
.click('@rolesDropdownTrigger')
.waitForElementVisible(roleSelector)
.click(roleSelector)
.waitForOutstandingAjaxCalls()
},
checkUsersRole: function (username, role) {