Files
inji-wallet/components/__snapshots__/BannerNotification.test.tsx.snap
KiruthikaJeyashankar 703e03057d Sync release 0.21 (#2165)
* [INJIMOB-3622] Fix alignment in history screen  (#2140)

* [INJIMOB-3622]: clear the history page issue

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: clear the history page issue

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

---------

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3647] refactor: enhance response structure of credential status check (#2145)

* [INJIMOB-3647] refactor: udpate vc verifier RN module

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: update reverification logic

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: modify status response structure

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: update response resolving of status check in swift bridge

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: update info logs to print status message

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: modify type from map to record

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: remove unnecessary async function

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: Credential summary result structure

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* Injimob-3651: revert all the branding changes (#2151)

* Revert "[INJIMOB-3622] Fix alignment in history screen  (#2140)"

This reverts commit a0b08914e5.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* Revert "Injimob [3622] [3627] - BANNER ISSUE AND BRANDING CHANGES ISSUES  (#2130)"

This reverts commit 522104811c.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* Revert "[INJIMOB-3633][INJIMOB-3636] fix icon bg color across app (#2134)"

This reverts commit d8d718693d.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* Revert "[INJIMOB-3633] fix search bar clear icon not apperaing (#2133)"

This reverts commit 6a202b11af.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3651]: revert all the branding changes

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3651]: update all the snapshot

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

---------

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3647] refactor: update isRevoked data type (#2149)

* [INJIMOB-3647] refactor: modify data type of isRevoked to EvaluationStatus

Type representing any possible value of EvaluationStatus.

- "TRUE" → Condition was evaluated and is positively true
- "FALSE" → Condition was evaluated and is definitively false
- "UNDETERMINED" → Condition could not be evaluated due to an error

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: modify data type of isRevoked to EvaluationStatus

Type representing any possible value of EvaluationStatus.

- "TRUE" → Condition was evaluated and is positively true
- "FALSE" → Condition was evaluated and is definitively false
- "UNDETERMINED" → Condition could not be evaluated due to an error

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: change statuslistVC type to record from string

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

# Conflicts:
#	shared/vcjs/verifyCredential.ts

* [INJIMOB-3647] refactor: update status revoke check to check for null status

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: VCMetadat constructor isRevoked param

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: rename EvaluationStatus to RevocationStatus

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: modify revocation status logs

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* Injimob-3651: update the new branding changes (#2154)

* [INJIMOB-3622]: add the new branding changes

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3651]: update the new branding changes

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3651]: update the new snapshots

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3651]: update the changes mentioned deskcheck

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

---------

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>
Signed-off-by: jaswanthkumartw <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3647] fix error condition in ios revocation (#2157)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3581] add doc for revocation support (#2158)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3658] update openid4vp dependencies to 0.6.0 (#2160)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* INJIMOB-3659: Removing inji wallet ui automation folder from release-0.21.x branch (#2161)

Signed-off-by: maheswaras <maheswara.s@cyberpwn.com>

* INJIMOB-3659: Removing inji wallet ui automation folder from release-0.21.x branch (#2162)

* INJIMOB-3659: Removing inji wallet ui automation folder from release-0.21.x branch

Signed-off-by: maheswaras <maheswara.s@cyberpwn.com>

* INJIMOB-3659: Removing inji wallet ui automation folder from release-0.21.x branch

Signed-off-by: maheswaras <maheswara.s@cyberpwn.com>

---------

Signed-off-by: maheswaras <maheswara.s@cyberpwn.com>

* refactor: replace @expo-google-fonts/montserrat with @expo-google-fonts/inter in package-lock.json

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] fix: change inter to montserrat font

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refcator: update useFont with montserrat font

Flows - first time VC receved by receiver

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: jaswanthkumartw <jaswanthkumar.p@thoughtworks.com>
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Signed-off-by: maheswaras <maheswara.s@cyberpwn.com>
Co-authored-by: jaswanthkumartw <jaswanthkumar.p@thoughtworks.com>
Co-authored-by: abhip2565 <paul.apaul.abhishek.AP@gmail.com>
Co-authored-by: maheswaras <maheswara.s@cyberpwn.com>
2025-12-08 17:09:25 +05:30

852 lines
18 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`BannerNotification Component should match snapshot with different testId 1`] = `
<View
accessibilityLabel="customBanner"
accessible={true}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "row",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
{
"alignItems": "flex-start",
"backgroundColor": "#DB2E2E",
"columnGap": 7,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
"paddingVertical": 12,
"position": "relative",
"width": "100%",
},
{
"backgroundColor": "#4B9D20",
},
],
null,
null,
]
}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
{
"flex": 1,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<Text
accessibilityLabel="customBannerText"
style={
[
{
"color": "#000000",
"fontSize": 16,
"lineHeight": 18,
},
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
},
{
"textAlign": "left",
},
null,
null,
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 12,
"lineHeight": 15,
"padding": 1,
"textAlignVertical": "center",
},
]
}
>
Test notification message
</Text>
</View>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<View
accessibilityLabel="close"
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"paddingLeft": 9,
}
}
/>
</View>
</View>
</View>
`;
exports[`BannerNotification Component should match snapshot with error status 1`] = `
<View
accessibilityLabel="bannerTest"
accessible={true}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "row",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
{
"alignItems": "flex-start",
"backgroundColor": "#DB2E2E",
"columnGap": 7,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
"paddingVertical": 12,
"position": "relative",
"width": "100%",
},
{
"backgroundColor": "#DB2E2E",
},
],
null,
null,
]
}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
{
"flex": 1,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<Text
accessibilityLabel="bannerTestText"
style={
[
{
"color": "#000000",
"fontSize": 16,
"lineHeight": 18,
},
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
},
{
"textAlign": "left",
},
null,
null,
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 12,
"lineHeight": 15,
"padding": 1,
"textAlignVertical": "center",
},
]
}
>
Test notification message
</Text>
</View>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<View
accessibilityLabel="close"
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"paddingLeft": 9,
}
}
/>
</View>
</View>
</View>
`;
exports[`BannerNotification Component should match snapshot with in progress status 1`] = `
<View
accessibilityLabel="bannerTest"
accessible={true}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "row",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
{
"alignItems": "flex-start",
"backgroundColor": "#DB2E2E",
"columnGap": 7,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
"paddingVertical": 12,
"position": "relative",
"width": "100%",
},
{
"backgroundColor": "#D9822B",
},
],
null,
null,
]
}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
{
"flex": 1,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<Text
accessibilityLabel="bannerTestText"
style={
[
{
"color": "#000000",
"fontSize": 16,
"lineHeight": 18,
},
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
},
{
"textAlign": "left",
},
null,
null,
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 12,
"lineHeight": 15,
"padding": 1,
"textAlignVertical": "center",
},
]
}
>
Test notification message
</Text>
</View>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<View
accessibilityLabel="close"
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"paddingLeft": 9,
}
}
/>
</View>
</View>
</View>
`;
exports[`BannerNotification Component should match snapshot with long message 1`] = `
<View
accessibilityLabel="bannerTest"
accessible={true}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "row",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
{
"alignItems": "flex-start",
"backgroundColor": "#DB2E2E",
"columnGap": 7,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
"paddingVertical": 12,
"position": "relative",
"width": "100%",
},
{
"backgroundColor": "#4B9D20",
},
],
null,
null,
]
}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
{
"flex": 1,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<Text
accessibilityLabel="bannerTestText"
style={
[
{
"color": "#000000",
"fontSize": 16,
"lineHeight": 18,
},
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
},
{
"textAlign": "left",
},
null,
null,
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 12,
"lineHeight": 15,
"padding": 1,
"textAlignVertical": "center",
},
]
}
>
This is a very long notification message that should wrap to multiple lines and still be displayed correctly
</Text>
</View>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<View
accessibilityLabel="close"
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"paddingLeft": 9,
}
}
/>
</View>
</View>
</View>
`;
exports[`BannerNotification Component should match snapshot with success status 1`] = `
<View
accessibilityLabel="bannerTest"
accessible={true}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "row",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
{
"alignItems": "flex-start",
"backgroundColor": "#DB2E2E",
"columnGap": 7,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
"paddingVertical": 12,
"position": "relative",
"width": "100%",
},
{
"backgroundColor": "#4B9D20",
},
],
null,
null,
]
}
>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
{
"flex": 1,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<Text
accessibilityLabel="bannerTestText"
style={
[
{
"color": "#000000",
"fontSize": 16,
"lineHeight": 18,
},
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
},
{
"textAlign": "left",
},
null,
null,
{
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 12,
"lineHeight": 15,
"padding": 1,
"textAlignVertical": "center",
},
]
}
>
Test notification message
</Text>
</View>
<View
accessible={true}
style={
[
{
"alignItems": undefined,
"flexDirection": "column",
"justifyContent": undefined,
},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
]
}
>
<View
accessibilityLabel="close"
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"paddingLeft": 9,
}
}
/>
</View>
</View>
</View>
`;