From 15f2df699717ba26fac085b344a70cfae80884f5 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Fri, 21 Aug 2020 16:16:33 +0200 Subject: [PATCH] Fix typo in step definition --- ui/tests/acceptance/features/accounts.feature | 2 +- ui/tests/acceptance/stepDefinitions/accountsContext.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/tests/acceptance/features/accounts.feature b/ui/tests/acceptance/features/accounts.feature index b12864aa9a..455f267384 100644 --- a/ui/tests/acceptance/features/accounts.feature +++ b/ui/tests/acceptance/features/accounts.feature @@ -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 diff --git a/ui/tests/acceptance/stepDefinitions/accountsContext.js b/ui/tests/acceptance/stepDefinitions/accountsContext.js index fbbcd7952c..b07eb340f2 100644 --- a/ui/tests/acceptance/stepDefinitions/accountsContext.js +++ b/ui/tests/acceptance/stepDefinitions/accountsContext.js @@ -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) })