Skip to content

Commit

Permalink
Adds testcase for managing key manager permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirishikesan committed Sep 27, 2023
1 parent 95a33ba commit b753c3c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1820,11 +1820,13 @@ function AddEditKeyManager(props) {
InputLabelProps={{
shrink: true,
}}
name='KeyManagerPermissions'
variant='outlined'
value={validRoles.concat(invalidRoles)}
alwaysShowPlaceholder={false}
placeholder='Enter roles and press Enter'
blurBehavior='clear'
data-testid='key-manager-permission-roles'
InputProps={{
endAdornment: !roleValidity && (
<InputAdornment position='end'>
Expand Down Expand Up @@ -1871,6 +1873,7 @@ function AddEditKeyManager(props) {
onDelete={() => {
handleRoleDeletion(value);
}}
data-testid={value}
style={{
backgroundColor: invalidRoles.includes(value)
? red[300] : null,
Expand Down

0 comments on commit b753c3c

Please sign in to comment.