mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-08 05:09:46 -06:00
Add a page reload to the role selection test
This commit is contained in:
@@ -17,3 +17,5 @@ Feature: Accounts
|
||||
Then user "einstein" should be displayed in the accounts list on the WebUI
|
||||
When the user changes the role of user "einstein" to "Admin" using the WebUI
|
||||
Then the displayed role of user "einstein" should be "Admin" on the WebUI
|
||||
When the user reloads the current page of the webUI
|
||||
Then the displayed role of user "einstein" should be "Admin" on the WebUI
|
||||
|
||||
@@ -19,3 +19,7 @@ When('the user changes the role of user {string} to {string} using the WebUI', f
|
||||
Then('the displayed role of user {string} should be {string} on the WebUI', function (username, role) {
|
||||
return client.page.accountsPage().checkUsersRole(username, role)
|
||||
})
|
||||
|
||||
When('the user reloads the current page of the webUI', function () {
|
||||
return client.refresh()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user