INJIMOB-3246 Code coverage fix for failing test for new ui changes (#2126)

* INJIMOB-3246 Code coverage fix for failing test for new ui changes in develop branch

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>

* Added build-inji-wallet job to run tests in push trigger workflow

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>

* Updated actions/checkout from v3 to v4 for GitHub Actions compatibility

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>

* Updated setup-node to v4 and added test-coverage step to CI workflow

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>

* Updated actions/setup-node from v4 to v6.0.0 to move off deprecated Node16 runtime

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>

* Removed unused env vars and redundant test-coverage step from build-inji-wallet job

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>

* Renamed build-inji-wallet job to run-tests

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>

---------

Signed-off-by: Kaushik Gupta <kausgpt97@gmail.com>
This commit is contained in:
Kaushik Gupta
2025-11-12 11:35:15 +05:30
committed by GitHub
parent 7c8e6ffd52
commit d435a63468
14 changed files with 644 additions and 563 deletions

View File

@@ -39,10 +39,30 @@ jobs:
IOS_SERVICE_LOCATION: 'ios'
SCRIPT_NAME: "fastlane ios_app_build"
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6.0.0
with:
node-version: '18.x'
cache: 'npm'
- name: Install the dependencies
run: npm install
- name: Build the project
run: npm run build
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,author,commit,workflow,job
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }}
if: failure()
sonar-check-on-push:
name: Sonar check
if: ${{ github.event_name != 'pull_request' }}
needs: [build-android, build-ios]
needs: [build-android, build-ios, run-tests]
uses: mosip/kattu/.github/workflows/npm-sonar-analysis.yml@master-java21
with:
SERVICE_LOCATION: '.'
@@ -78,7 +98,7 @@ jobs:
SERVICE_LOCATION: injitest
BUILD_ARTIFACT: uitest-inji-wallet-local
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
with:

View File

@@ -70,7 +70,7 @@ fileignoreconfig:
- filename: android/app/build.gradle
checksum: 8d5715e179a398518e6acff82c75b27077c9f893dc90b2972c77f9a09f10be95
- filename: .github/workflows/push-triggers.yml
checksum: abc19ea38c8d7b79f15695d015709cc88a34a995181aaf12bc8344f940f3cbc4
checksum: 1461e21496ff0771b8ec8d6f25e77871191e91a2bca1934d1636df129ef2afbb
- filename: android/fastlane/Fastfile
checksum: a5e816489a80b0a7498f35b7a2919f2287d4307b660687c2a9c51412aa8eceb7
- filename: .github/workflows/internal-build.yml
@@ -95,8 +95,6 @@ fileignoreconfig:
checksum: e85d18cd3349e0127f1cc7173fcdfd31824e609508512a613997a73756cd4dec
- filename: .github/workflows/android-custom-build.yml
checksum: 4d155c6e5468effb0b82e62f6878f2bd7ff7e7c9540e16bdd28cb81b80672ac3
- filename: .github/workflows/push-triggers.yml
checksum: 4a031b46646aa982c8f40e4c7fe0bd3e05a76a6af1ff1c2de7350ba6ebf9a839
- filename: components/VC/Views/VCCardViewContent.tsx
checksum: 02655ff3d7f8a8ea4f3664485f98c961802c598242ec44408594a2ddb721fa5e
- filename: screens/Settings/BackupController.tsx

View File

@@ -2,6 +2,11 @@ import React from 'react';
import {render} from '@testing-library/react-native';
import {BannerNotification, BannerStatusType} from './BannerNotification';
// Mock the SVG components
jest.mock('../assets/Error_Toast_Icon.svg', () => 'ErrorToastIcon');
jest.mock('../assets/Info_Toast_Icon.svg', () => 'InfoToastIcon');
jest.mock('../assets/Success_Toast_Icon.svg', () => 'SuccessToastIcon');
describe('BannerNotification Component', () => {
const defaultProps = {
message: 'Test notification message',

View File

@@ -129,7 +129,7 @@ exports[`AccountInformation Component should match snapshot with different email
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -182,7 +182,7 @@ exports[`AccountInformation Component should match snapshot with different email
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -334,7 +334,7 @@ exports[`AccountInformation Component should match snapshot with different pictu
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -387,7 +387,7 @@ exports[`AccountInformation Component should match snapshot with different pictu
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -539,7 +539,7 @@ exports[`AccountInformation Component should match snapshot with email and pictu
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -592,7 +592,7 @@ exports[`AccountInformation Component should match snapshot with email and pictu
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -744,7 +744,7 @@ exports[`AccountInformation Component should match snapshot with long email 1`]
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -797,7 +797,7 @@ exports[`AccountInformation Component should match snapshot with long email 1`]
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,

View File

@@ -25,9 +25,11 @@ exports[`BannerNotification Component should match snapshot with different testI
null,
[
{
"alignItems": "flex-start",
"alignItems": "center",
"backgroundColor": "#DB2E2E",
"borderRadius": 10,
"columnGap": 7,
"height": 70,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
@@ -36,7 +38,8 @@ exports[`BannerNotification Component should match snapshot with different testI
"width": "100%",
},
{
"backgroundColor": "#4B9D20",
"backgroundColor": "#9DCFBB",
"color": "#384455",
},
],
null,
@@ -50,7 +53,7 @@ exports[`BannerNotification Component should match snapshot with different testI
[
{
"alignItems": undefined,
"flexDirection": "column",
"flexDirection": "row",
"justifyContent": undefined,
},
{
@@ -70,6 +73,7 @@ exports[`BannerNotification Component should match snapshot with different testI
]
}
>
<SuccessToastIcon />
<Text
accessibilityLabel="customBannerText"
style={
@@ -80,11 +84,11 @@ exports[`BannerNotification Component should match snapshot with different testI
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
"color": "#384455",
},
{
"textAlign": "left",
@@ -92,9 +96,10 @@ exports[`BannerNotification Component should match snapshot with different testI
null,
null,
{
"fontFamily": "Inter_600SemiBold",
"fontSize": 12,
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 14,
"lineHeight": 15,
"marginHorizontal": 8,
"padding": 1,
"textAlignVertical": "center",
},
@@ -195,9 +200,11 @@ exports[`BannerNotification Component should match snapshot with error status 1`
null,
[
{
"alignItems": "flex-start",
"alignItems": "center",
"backgroundColor": "#DB2E2E",
"borderRadius": 10,
"columnGap": 7,
"height": 70,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
@@ -206,7 +213,8 @@ exports[`BannerNotification Component should match snapshot with error status 1`
"width": "100%",
},
{
"backgroundColor": "#DB2E2E",
"backgroundColor": "#EFB3B5",
"color": "#384455",
},
],
null,
@@ -220,7 +228,7 @@ exports[`BannerNotification Component should match snapshot with error status 1`
[
{
"alignItems": undefined,
"flexDirection": "column",
"flexDirection": "row",
"justifyContent": undefined,
},
{
@@ -240,6 +248,7 @@ exports[`BannerNotification Component should match snapshot with error status 1`
]
}
>
<SuccessToastIcon />
<Text
accessibilityLabel="bannerTestText"
style={
@@ -250,11 +259,11 @@ exports[`BannerNotification Component should match snapshot with error status 1`
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
"color": "#384455",
},
{
"textAlign": "left",
@@ -262,9 +271,10 @@ exports[`BannerNotification Component should match snapshot with error status 1`
null,
null,
{
"fontFamily": "Inter_600SemiBold",
"fontSize": 12,
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 14,
"lineHeight": 15,
"marginHorizontal": 8,
"padding": 1,
"textAlignVertical": "center",
},
@@ -365,9 +375,11 @@ exports[`BannerNotification Component should match snapshot with in progress sta
null,
[
{
"alignItems": "flex-start",
"alignItems": "center",
"backgroundColor": "#DB2E2E",
"borderRadius": 10,
"columnGap": 7,
"height": 70,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
@@ -376,7 +388,8 @@ exports[`BannerNotification Component should match snapshot with in progress sta
"width": "100%",
},
{
"backgroundColor": "#D9822B",
"backgroundColor": "#FFE799",
"color": "#384455",
},
],
null,
@@ -390,7 +403,7 @@ exports[`BannerNotification Component should match snapshot with in progress sta
[
{
"alignItems": undefined,
"flexDirection": "column",
"flexDirection": "row",
"justifyContent": undefined,
},
{
@@ -410,6 +423,7 @@ exports[`BannerNotification Component should match snapshot with in progress sta
]
}
>
<SuccessToastIcon />
<Text
accessibilityLabel="bannerTestText"
style={
@@ -420,11 +434,11 @@ exports[`BannerNotification Component should match snapshot with in progress sta
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
"color": "#384455",
},
{
"textAlign": "left",
@@ -432,9 +446,10 @@ exports[`BannerNotification Component should match snapshot with in progress sta
null,
null,
{
"fontFamily": "Inter_600SemiBold",
"fontSize": 12,
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 14,
"lineHeight": 15,
"marginHorizontal": 8,
"padding": 1,
"textAlignVertical": "center",
},
@@ -535,9 +550,11 @@ exports[`BannerNotification Component should match snapshot with long message 1`
null,
[
{
"alignItems": "flex-start",
"alignItems": "center",
"backgroundColor": "#DB2E2E",
"borderRadius": 10,
"columnGap": 7,
"height": 70,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
@@ -546,7 +563,8 @@ exports[`BannerNotification Component should match snapshot with long message 1`
"width": "100%",
},
{
"backgroundColor": "#4B9D20",
"backgroundColor": "#9DCFBB",
"color": "#384455",
},
],
null,
@@ -560,7 +578,7 @@ exports[`BannerNotification Component should match snapshot with long message 1`
[
{
"alignItems": undefined,
"flexDirection": "column",
"flexDirection": "row",
"justifyContent": undefined,
},
{
@@ -580,6 +598,7 @@ exports[`BannerNotification Component should match snapshot with long message 1`
]
}
>
<SuccessToastIcon />
<Text
accessibilityLabel="bannerTestText"
style={
@@ -590,11 +609,11 @@ exports[`BannerNotification Component should match snapshot with long message 1`
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
"color": "#384455",
},
{
"textAlign": "left",
@@ -602,9 +621,10 @@ exports[`BannerNotification Component should match snapshot with long message 1`
null,
null,
{
"fontFamily": "Inter_600SemiBold",
"fontSize": 12,
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 14,
"lineHeight": 15,
"marginHorizontal": 8,
"padding": 1,
"textAlignVertical": "center",
},
@@ -705,9 +725,11 @@ exports[`BannerNotification Component should match snapshot with success status
null,
[
{
"alignItems": "flex-start",
"alignItems": "center",
"backgroundColor": "#DB2E2E",
"borderRadius": 10,
"columnGap": 7,
"height": 70,
"justifyContent": "space-between",
"marginVertical": 1,
"paddingHorizontal": 18,
@@ -716,7 +738,8 @@ exports[`BannerNotification Component should match snapshot with success status
"width": "100%",
},
{
"backgroundColor": "#4B9D20",
"backgroundColor": "#9DCFBB",
"color": "#384455",
},
],
null,
@@ -730,7 +753,7 @@ exports[`BannerNotification Component should match snapshot with success status
[
{
"alignItems": undefined,
"flexDirection": "column",
"flexDirection": "row",
"justifyContent": undefined,
},
{
@@ -750,6 +773,7 @@ exports[`BannerNotification Component should match snapshot with success status
]
}
>
<SuccessToastIcon />
<Text
accessibilityLabel="bannerTestText"
style={
@@ -760,11 +784,11 @@ exports[`BannerNotification Component should match snapshot with success status
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
{
"color": "#FFFFFF",
"color": "#384455",
},
{
"textAlign": "left",
@@ -772,9 +796,10 @@ exports[`BannerNotification Component should match snapshot with success status
null,
null,
{
"fontFamily": "Inter_600SemiBold",
"fontSize": 12,
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 14,
"lineHeight": 15,
"marginHorizontal": 8,
"padding": 1,
"textAlignVertical": "center",
},

View File

@@ -1,7 +1,40 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`BannerNotificationContainer Component should match snapshot with no banners visible 1`] = `null`;
exports[`BannerNotificationContainer Component should match snapshot with no banners visible 1`] = `
<View
style={
[
{
"position": "absolute",
"zIndex": 100,
},
]
}
/>
`;
exports[`BannerNotificationContainer Component should match snapshot with verification banner disabled 1`] = `null`;
exports[`BannerNotificationContainer Component should match snapshot with verification banner disabled 1`] = `
<View
style={
[
{
"position": "absolute",
"zIndex": 100,
},
]
}
/>
`;
exports[`BannerNotificationContainer Component should match snapshot with verification banner enabled 1`] = `null`;
exports[`BannerNotificationContainer Component should match snapshot with verification banner enabled 1`] = `
<View
style={
[
{
"position": "absolute",
"zIndex": 100,
},
]
}
/>
`;

View File

@@ -67,7 +67,7 @@ exports[`CopyButton Component should match snapshot with default props 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
null,
@@ -156,7 +156,7 @@ exports[`CopyButton Component should match snapshot with long content 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
null,
@@ -245,7 +245,7 @@ exports[`CopyButton Component should match snapshot with special characters 1`]
"lineHeight": 18,
},
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 15,
},
null,

View File

@@ -13,7 +13,7 @@ exports[`DualMessageOverlay Component should match snapshot with both buttons 1`
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -42,7 +42,7 @@ exports[`DualMessageOverlay Component should match snapshot with both buttons 1`
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -103,7 +103,7 @@ exports[`DualMessageOverlay Component should match snapshot with only ignore but
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -139,7 +139,7 @@ exports[`DualMessageOverlay Component should match snapshot with only try again
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},

File diff suppressed because it is too large Load Diff

View File

@@ -51,7 +51,7 @@ exports[`KebabPopUp Component should match snapshot when not visible 1`] = `
},
null,
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"justifyContent": "space-between",
},
null,
@@ -69,7 +69,7 @@ exports[`KebabPopUp Component should match snapshot when not visible 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -132,7 +132,7 @@ exports[`KebabPopUp Component should match snapshot when not visible 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -147,7 +147,7 @@ exports[`KebabPopUp Component should match snapshot when not visible 1`] = `
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -201,7 +201,7 @@ exports[`KebabPopUp Component should match snapshot when not visible 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -218,7 +218,7 @@ exports[`KebabPopUp Component should match snapshot when not visible 1`] = `
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -280,7 +280,7 @@ exports[`KebabPopUp Component should match snapshot with VC that has image 1`] =
},
null,
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"justifyContent": "space-between",
},
null,
@@ -298,7 +298,7 @@ exports[`KebabPopUp Component should match snapshot with VC that has image 1`] =
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -361,7 +361,7 @@ exports[`KebabPopUp Component should match snapshot with VC that has image 1`] =
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -376,7 +376,7 @@ exports[`KebabPopUp Component should match snapshot with VC that has image 1`] =
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -430,7 +430,7 @@ exports[`KebabPopUp Component should match snapshot with VC that has image 1`] =
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -447,7 +447,7 @@ exports[`KebabPopUp Component should match snapshot with VC that has image 1`] =
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -509,7 +509,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon color 1`] =
},
null,
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"justifyContent": "space-between",
},
null,
@@ -527,7 +527,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon color 1`] =
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -590,7 +590,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon color 1`] =
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -605,7 +605,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon color 1`] =
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -659,7 +659,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon color 1`] =
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -676,7 +676,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon color 1`] =
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -741,7 +741,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon component 1
},
null,
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"justifyContent": "space-between",
},
null,
@@ -759,7 +759,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon component 1
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -822,7 +822,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon component 1
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -837,7 +837,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon component 1
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -891,7 +891,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon component 1
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -908,7 +908,7 @@ exports[`KebabPopUp Component should match snapshot with custom icon component 1
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -970,7 +970,7 @@ exports[`KebabPopUp Component should match snapshot with default icon 1`] = `
},
null,
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"justifyContent": "space-between",
},
null,
@@ -988,7 +988,7 @@ exports[`KebabPopUp Component should match snapshot with default icon 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 15,
"justifyContent": "center",
},
@@ -1051,7 +1051,7 @@ exports[`KebabPopUp Component should match snapshot with default icon 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -1066,7 +1066,7 @@ exports[`KebabPopUp Component should match snapshot with default icon 1`] = `
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}
@@ -1120,7 +1120,7 @@ exports[`KebabPopUp Component should match snapshot with default icon 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -1137,7 +1137,7 @@ exports[`KebabPopUp Component should match snapshot with default icon 1`] = `
},
null,
{
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
},
]
}

View File

@@ -85,7 +85,7 @@ exports[`Passcode Component should match snapshot with both message and error 1`
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -136,7 +136,7 @@ exports[`Passcode Component should match snapshot with both message and error 1`
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -243,7 +243,7 @@ exports[`Passcode Component should match snapshot with custom message 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -294,7 +294,7 @@ exports[`Passcode Component should match snapshot with custom message 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -399,7 +399,7 @@ exports[`Passcode Component should match snapshot with default props 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -450,7 +450,7 @@ exports[`Passcode Component should match snapshot with default props 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{
@@ -555,7 +555,7 @@ exports[`Passcode Component should match snapshot with error message 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,
@@ -606,7 +606,7 @@ exports[`Passcode Component should match snapshot with error message 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
{

View File

@@ -36,14 +36,14 @@ exports[`PinInput Component should match snapshot with 4 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#951F6F",
"borderColor": "#F37321",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 29,
"height": 50,
"margin": 8,
@@ -61,14 +61,14 @@ exports[`PinInput Component should match snapshot with 4 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -87,14 +87,14 @@ exports[`PinInput Component should match snapshot with 4 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -113,14 +113,14 @@ exports[`PinInput Component should match snapshot with 4 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -169,14 +169,14 @@ exports[`PinInput Component should match snapshot with 6 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#951F6F",
"borderColor": "#F37321",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 29,
"height": 50,
"margin": 8,
@@ -194,14 +194,14 @@ exports[`PinInput Component should match snapshot with 6 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -220,14 +220,14 @@ exports[`PinInput Component should match snapshot with 6 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -246,14 +246,14 @@ exports[`PinInput Component should match snapshot with 6 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -272,14 +272,14 @@ exports[`PinInput Component should match snapshot with 6 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -298,14 +298,14 @@ exports[`PinInput Component should match snapshot with 6 digit PIN 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -355,14 +355,14 @@ exports[`PinInput Component should match snapshot with custom testID 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#951F6F",
"borderColor": "#F37321",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 29,
"height": 50,
"margin": 8,
@@ -380,14 +380,14 @@ exports[`PinInput Component should match snapshot with custom testID 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -406,14 +406,14 @@ exports[`PinInput Component should match snapshot with custom testID 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -432,14 +432,14 @@ exports[`PinInput Component should match snapshot with custom testID 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -488,14 +488,14 @@ exports[`PinInput Component should match snapshot with onChange handler 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#951F6F",
"borderColor": "#F37321",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 29,
"height": 50,
"margin": 8,
@@ -513,14 +513,14 @@ exports[`PinInput Component should match snapshot with onChange handler 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -539,14 +539,14 @@ exports[`PinInput Component should match snapshot with onChange handler 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -565,14 +565,14 @@ exports[`PinInput Component should match snapshot with onChange handler 1`] = `
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -621,14 +621,14 @@ exports[`PinInput Component should match snapshot with onDone and autosubmit 1`]
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#951F6F",
"borderColor": "#F37321",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_700Bold",
"fontFamily": "Montserrat_700Bold",
"fontSize": 29,
"height": 50,
"margin": 8,
@@ -646,14 +646,14 @@ exports[`PinInput Component should match snapshot with onDone and autosubmit 1`]
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -672,14 +672,14 @@ exports[`PinInput Component should match snapshot with onDone and autosubmit 1`]
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,
@@ -698,14 +698,14 @@ exports[`PinInput Component should match snapshot with onDone and autosubmit 1`]
onKeyPress={[Function]}
secureTextEntry={true}
selectTextOnFocus={true}
selectionColor="#951F6F"
selectionColor="#F37321"
style={
{
"borderBottomWidth": 3,
"borderColor": "#C7C7C7",
"color": "#000000",
"flex": 1,
"fontFamily": "Inter_600SemiBold",
"fontFamily": "Montserrat_600SemiBold",
"fontSize": 33,
"height": 50,
"lineHeight": 28,

View File

@@ -10,7 +10,7 @@ exports[`ProgressingModal Component should match snapshot with hint visible 1`]
exports[`ProgressingModal Component should match snapshot with progress spinner 1`] = `
<Spinner
color="#951F6F"
color="#F37321"
style={
{
"marginLeft": 6,

View File

@@ -10,7 +10,7 @@ exports[`<Text /> Testing the Text component 1`] = `
"lineHeight": 18,
},
{
"fontFamily": "Inter_400Regular",
"fontFamily": "Montserrat_400Regular",
"fontSize": 14,
},
null,