Skip to content

Commit

Permalink
Issue 134 - fix inconsistent case for password field
Browse files Browse the repository at this point in the history
fixes: #134

Signed-off-by: MArk Reynolds <mreynolds@redhat.com>
  • Loading branch information
mreynolds389 committed Jan 2, 2024
1 parent 1b0086f commit 9d4b7cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/modals/AddUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ const AddUser = (props: PropsToAddUser) => {
},
{
id: "new-password",
name: "New Password",
name: "New password",
pfComponent: (
<PasswordInput
id="modal-form-new-password"
Expand Down
8 changes: 4 additions & 4 deletions tests/features/active_users_handling.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: User manipulation
* I type in the field "User login" text "<userLogin>"
* I type in the field "First name" text "<firstName>"
* I type in the field "Last name" text "<lastName>"
* I type in the field "New Password" text "<password>"
* I type in the field "New password" text "<password>"
* I type in the field "Verify password" text "<password>"
* in the modal dialog I click on "Add" button
Then I should see "<userLogin>" entry in the data table
Expand All @@ -27,14 +27,14 @@ Feature: User manipulation
* I type in the field "User login" text "chainuser1"
* I type in the field "First name" text "Chain"
* I type in the field "Last name" text "User1"
* I type in the field "New Password" text "CorrectHorseBatteryStaple"
* I type in the field "New password" text "CorrectHorseBatteryStaple"
* I type in the field "Verify password" text "CorrectHorseBatteryStaple"
* in the modal dialog I click on "Add and add another" button

When I type in the field "User login" text "chainuser2"
* I type in the field "First name" text "Chain"
* I type in the field "Last name" text "User2"
* I type in the field "New Password" text "IncorrectHorseBatteryStaple"
* I type in the field "New password" text "IncorrectHorseBatteryStaple"
* I type in the field "Verify password" text "IncorrectHorseBatteryStaple"
* in the modal dialog I click on "Add" button
Then I should see "chainuser1" entry in the data table
Expand Down Expand Up @@ -175,7 +175,7 @@ Scenario: Re-enable multiple users at once
* I type in the field "User login" text "cancelleduser"
* I type in the field "First name" text "Cancelled"
* I type in the field "Last name" text "User1"
* I type in the field "New Password" text "DoesntReallyMatter"
* I type in the field "New password" text "DoesntReallyMatter"
* I type in the field "Verify password" text "DoesntReallyMatter"
* in the modal dialog I click on "Cancel" button
Then I should not see "cancelleduser" entry in the data table
Expand Down

0 comments on commit 9d4b7cf

Please sign in to comment.