Fix typo in step definition

This commit is contained in:
Benedikt Kulmann
2020-08-21 16:16:33 +02:00
parent 0e4e211123
commit 15f2df6997
2 changed files with 2 additions and 2 deletions

View File

@@ -15,5 +15,5 @@ Feature: Accounts
And user "user1" has logged in using the webUI
When the user browses to the accounts page
Then user "einstein" should be displayed in the accounts list on the WebUI
When the users changes the role of user "einstein" to "Admin" using 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

View File

@@ -12,7 +12,7 @@ Then('user {string} should be displayed in the accounts list on the WebUI', asyn
return assert.strictEqual(userListed, username)
})
When('the users changes the role of user {string} to {string} using the WebUI', function (username, role) {
When('the user changes the role of user {string} to {string} using the WebUI', function (username, role) {
return client.page.accountsPage().selectRole(username, role)
})