[INJIMOB-3108]: add test id for issuer logo in home screen card view (#1856)

Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>
This commit is contained in:
adityankannan-tw
2025-03-17 16:47:38 +05:30
committed by GitHub
parent f07d1c528c
commit 06b060bef5

View File

@@ -18,6 +18,7 @@ import {RemoveVcWarningOverlay} from '../../../screens/Home/MyVcs/RemoveVcWarnin
import {HistoryTab} from '../../../screens/Home/MyVcs/HistoryTab';
import {useCopilot} from 'react-native-copilot';
import {useTranslation} from 'react-i18next';
import testIDProps from '../../../shared/commonUtil';
export const VCCardViewContent: React.FC<VCItemContentProps> = props => {
const wellknownDisplayProperty = new Display(props.wellknown);
@@ -93,6 +94,7 @@ export const VCCardViewContent: React.FC<VCItemContentProps> = props => {
{isVCLoaded(props.credential, props.fields) && (
<Image
{...testIDProps('issuerLogo')}
src={issuerLogo?.url}
alt={issuerLogo?.alt_text}
style={Theme.Styles.issuerLogo}