Skip to content

Commit

Permalink
Fix the ui tests for selecting the role of the user
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach committed Sep 16, 2020
1 parent 826a67b commit e8da801
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/tests/acceptance/pageobjects/accountsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e8da801

Please sign in to comment.