-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #14153 [Admin][UI][API] Reset password validation (NoResponse…
…Mate) This PR was merged into the 1.12 branch. Discussion ---------- | Q | A | |-----------------|--------------------------------------------------------------| | Branch? | 1.12 | | Bug fix? | no | | New feature? | yes | | BC breaks? | no | | Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> | | Related tickets | - | | License | MIT | Based on #14147 Extracted it to not mix the concepts as the base PR only touches UI, but the validation is for both UI and API. Commits ------- 6c1336a Add administrator password reset ui tests ad5cf70 [Admin][UI] Rendering the reset password page 5f845b1 Move ResetPassword command and handler into Core 99dd0b2 [Admin][UI] Password resetting f430bfb [Behat][Admin] Better elements' names in ResetPasswordPage c37d52f [Admin][Core] Extract ResetPassword message dispatching to a standalone service ea77ea0 [Behat] Fix admin's logging in logic 23ef23e [Behat][Admin] Fix and cleanup of password resetting f6ce783 Fix sylius.admin.login.before_form event's priorities 53542d2 [Core] Remove "experimental" tag from ResetPassword related classes ddbfa82 [Behat] More precise password changed notification check 0c596f6 [Admin][UI] Rework password reset template events 3ede1e5 [Admin][UI] Add completely forgotten password reset email link 5c320f0 [API][UI] Add validation for expired admin password reset token fd24b11 [API][UI] Add password validation to admin's password reset workflow
- Loading branch information
Showing
54 changed files
with
1,064 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Sylius package. | ||
* | ||
* (c) Paweł Jędrzejewski | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Sylius\Behat\Element\Admin\Account; | ||
|
||
use FriendsOfBehat\PageObjectExtension\Element\Element; | ||
|
||
final class ResetElement extends Element implements ResetElementInterface | ||
{ | ||
public function reset(): void | ||
{ | ||
$this->getDocument()->find('css', 'button[type="submit"]:contains("Reset")')->click(); | ||
} | ||
} |
Oops, something went wrong.