You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
874 B
17 lines
874 B
@core @core_user
|
|
Feature: Enable/disable password field based on authentication selected.
|
|
In order edit a user password properly
|
|
As an admin
|
|
I need to be able to notice if the change in password is allowed by athuentication plugin or not
|
|
|
|
@javascript
|
|
Scenario: Verify the password field is enabled/disabled based on authentication selected, in user edit advanced page.
|
|
Given I log in as "admin"
|
|
When I navigate to "Users > Accounts > Add a new user" in site administration
|
|
Then the "New password" "field" should be enabled
|
|
And I set the field "auth" to "Web services authentication"
|
|
And the "New password" "field" should be disabled
|
|
And I set the field "auth" to "Email-based self-registration"
|
|
And the "New password" "field" should be enabled
|
|
# We need to cancel/submit a form that has been modified.
|
|
And I press "Create user"
|
|
|