From edf83066ae76ccab109052f1e9bae7a35b09ba82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szo=C5=82tysek?= Date: Mon, 10 Jan 2022 19:44:28 +0100 Subject: [PATCH] IBX-1776: Quick-fix for Change password behat scenario --- features/personas/ChangePassword.feature | 2 +- src/lib/Behat/Page/ChangePasswordPage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/personas/ChangePassword.feature b/features/personas/ChangePassword.feature index 3714cbedd1..c98d972b12 100644 --- a/features/personas/ChangePassword.feature +++ b/features/personas/ChangePassword.feature @@ -4,7 +4,7 @@ Feature: Verify that an User allowed to change password can change his password Scenario: I can change my password Given I open Login page in admin SiteAccess And I log in as "UserPassword" with password "Passw0rd-42" - When I go to change my password + When I open "Change password" page in admin SiteAccess And I change password from "Passw0rd-42" to "Passw0rd-43" And I click on the edit action bar button "Update" Then success notification that "Your password has been successfully changed." appears diff --git a/src/lib/Behat/Page/ChangePasswordPage.php b/src/lib/Behat/Page/ChangePasswordPage.php index a958b20d89..426deb3119 100644 --- a/src/lib/Behat/Page/ChangePasswordPage.php +++ b/src/lib/Behat/Page/ChangePasswordPage.php @@ -61,6 +61,6 @@ protected function getRoute(): string public function getName(): string { - return 'Change password page'; + return 'Change password'; } }