Skip to content

Commit

Permalink
fix(INJI-339): Added testId for three-dots icon in the VC Card (mosip…
Browse files Browse the repository at this point in the history
…#825)

* fix(INJI-339): Added test for the VC card on the home page

* fix(INJI-339): Added testId for ellipsis(kebab)

* Added testID's in kebab popUp options

* Adjusted the UI errors after adding testID's

* Renamed Kebab popUp title testId

* Renamed Kebab popUp title testId

* testId was added to the three-dots in Vc Card

Signed-off-by: Tilak Puli <[email protected]>
  • Loading branch information
Anil-kumar-Majji authored and tilak-puli committed Oct 11, 2023
1 parent f9f57d0 commit 7c8465d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions components/KebabPopUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const KebabPopUp: React.FC<KebabPopUpProps> = (props) => {
return (
<Column>
<Icon
testID={props.testID}
{...testIDProps('ellipsis')}
name={props.iconName}
type={props.iconType}
color={Theme.Colors.GrayIcon}
Expand Down Expand Up @@ -92,7 +92,6 @@ export const KebabPopUp: React.FC<KebabPopUpProps> = (props) => {
};

export interface KebabPopUpProps {
testID?: string;
iconName: string;
iconType?: string;
vcKey: string;
Expand Down
1 change: 0 additions & 1 deletion components/VcItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export const VcItem: React.FC<VcItemProps> = (props) => {
)}
<Pressable onPress={KEBAB_POPUP}>
<KebabPopUp
testID="ellipsis"
vcKey={props.vcKey}
iconName="dots-three-horizontal"
iconType="entypo"
Expand Down

0 comments on commit 7c8465d

Please sign in to comment.