-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX ModelAdmin toast elements #1615
FIX ModelAdmin toast elements #1615
Conversation
741dcce
to
481c291
Compare
Please also add some behat tests (probably just add a "and I should see" to some existing test scenarios) |
8a0eafd
to
bcb347e
Compare
Updated. Failed tests require PRs: |
ed3c319
to
f59b8ac
Compare
90d46b2
to
8858469
Compare
9b682c3
to
dc40a1b
Compare
dc40a1b
to
4180d54
Compare
6ba364b
to
9655014
Compare
tests/behat/features/profile.feature
Outdated
@@ -48,16 +48,16 @@ Feature: Manage my own settings | |||
And I fill in "New Password" with "a" | |||
And I fill in "Confirm Password" with "a" | |||
And I press the "Save" button | |||
Then I should see "Password is too short" | |||
Then I should see "Please increase password strength by adding some of the following characters: uppercase, digits, punctuation" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test fails since we don't have any settings for min_test_score
.
See: https://github.com/silverstripe/silverstripe-framework/blob/8680b6bfb93235547bfac29fcbd9edc8b13c7ab9/_config/passwords.yml#L10-L13
If we have settings then we show the last added message.
fbbe491
to
58252d4
Compare
JS CI is failing - might need to be rerun or you might need to rebuild the dist files. |
31d3df7
to
34ef234
Compare
34ef234
to
53afb90
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works well locally.
Changes to password in behat aren't problematic so they're okay even though they're not needed.
Parent issue