diff --git a/tests/acceptance/features/bootstrap/WebUIUsersContext.php b/tests/acceptance/features/bootstrap/WebUIUsersContext.php index 2e8b4c46e578..01a47e9fba7f 100644 --- a/tests/acceptance/features/bootstrap/WebUIUsersContext.php +++ b/tests/acceptance/features/bootstrap/WebUIUsersContext.php @@ -291,7 +291,7 @@ public function theUserReloadsTheUsersPage() { * @return void */ public function theAdminDisablesUserUsingTheWebui($username) { - $this->usersPage->openSettingsMenu(); + $this->usersPage->openAppSettingsMenu(); $this->usersPage->setSetting("Show enabled/disabled option"); $this->usersPage->disableUser($username); } @@ -621,7 +621,7 @@ public function theAdministratorRemovesUserFromGroupUsingTheWebui($user, $group) * @return void */ public function theAdministratorChangesTheEmailOfUserToUsingTheWebui($username, $email) { - $this->usersPage->openSettingsMenu(); + $this->usersPage->openAppSettingsMenu(); $this->usersPage->setSetting('Show email address'); $this->usersPage->changeUserEmail($this->getSession(), $username, $email); } diff --git a/tests/acceptance/features/lib/UsersPage.php b/tests/acceptance/features/lib/UsersPage.php index a385e3e6dfb8..5343c8087748 100644 --- a/tests/acceptance/features/lib/UsersPage.php +++ b/tests/acceptance/features/lib/UsersPage.php @@ -286,7 +286,7 @@ public function getLastLoginOfUser($username) { * @throws ElementNotFoundException * @return void */ - public function openSettingsMenu() { + public function openAppSettingsMenu() { $settingsBtn = $this->find("xpath", $this->settingsBtnXpath); if ($settingsBtn === null) { throw new ElementNotFoundException( @@ -334,7 +334,7 @@ public function setSetting($setting, $value = true) { } if (!$settingContentIsVisible) { - $this->openSettingsMenu(); + $this->openAppSettingsMenu(); } $xpathLocator = \sprintf($this->settingByTextXpath, $setting);