-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0566bdc
commit 290c103
Showing
5 changed files
with
12 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ Object { | |
"active", | ||
"userGroups", | ||
"fhirCoreAppId", | ||
"password", | ||
] | ||
} | ||
userGroups={ | ||
|
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 |
---|---|---|
|
@@ -473,5 +473,6 @@ export const createdUser = { | |
username: 'TestOne', | ||
email: '[email protected]', | ||
enabled: true, | ||
credentials: [{ type: 'password', value: 'passwoord!!', temporary: false }], | ||
attributes: { fhir_core_app_id: ['cha'] }, | ||
}; |
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 |
---|---|---|
|
@@ -186,6 +186,13 @@ describe('forms/userForm', () => { | |
const usernameInput = document.querySelector('input#username') as Element; | ||
userEvent.type(usernameInput, 'TestOne'); | ||
|
||
//set password | ||
const passwordInput = screen.getByLabelText('Password'); | ||
userEvent.type(passwordInput, 'passwoord!!'); | ||
// confirm set password | ||
const confirmPasswordInput = screen.getByLabelText('Confirm Password'); | ||
userEvent.type(confirmPasswordInput, 'passwoord!!'); | ||
|
||
// set user email | ||
const emailInput = document.querySelector('input#email') as Element; | ||
userEvent.type(emailInput, '[email protected]'); | ||
|