From 3e3d87a704c05d522fe3cce23bce2ddb2932f67f Mon Sep 17 00:00:00 2001 From: Yauheni Pasiukevich Date: Thu, 6 Feb 2025 13:13:42 +0100 Subject: [PATCH 1/4] Enable group chat name tests by removing skip from last message preview and sorting tests --- tests/ui/GroupChatNameTests.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/GroupChatNameTests.tsx b/tests/ui/GroupChatNameTests.tsx index 63aac85d4c9c..fc383efe4e28 100644 --- a/tests/ui/GroupChatNameTests.tsx +++ b/tests/ui/GroupChatNameTests.tsx @@ -304,7 +304,7 @@ describe('Tests for group chat name', () => { return waitFor(() => expect(displayNameTexts).toHaveLength(1)); })); - it.skip('Should show last message preview in LHN', () => + it('Should show last message preview in LHN', () => signInAndGetApp('A, B, C, D', participantAccountIDs4).then(() => { // Verify the sidebar links are rendered const sidebarLinksHintText = Localize.translateLocal('sidebarScreen.listOfChats'); @@ -322,7 +322,7 @@ describe('Tests for group chat name', () => { return waitFor(() => expect(lastChatText?.props?.children).toBe('B: Test')); })); - it.skip('Should sort the names before displaying', () => + it('Should sort the names before displaying', () => signInAndGetApp('', [USER_E_ACCOUNT_ID, ...participantAccountIDs4]).then(() => { // Verify the sidebar links are rendered const sidebarLinksHintText = Localize.translateLocal('sidebarScreen.listOfChats'); From 676a7c70c0464191f301fdaf205e167de5e516c6 Mon Sep 17 00:00:00 2001 From: Yauheni Pasiukevich Date: Thu, 6 Feb 2025 14:35:42 +0100 Subject: [PATCH 2/4] Downgrade react-native-onyx version to 2.0.91 in package.json and package-lock.json --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 30002a164a28..0d02e82fd204 100644 --- a/package-lock.json +++ b/package-lock.json @@ -99,7 +99,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "2.0.92", + "react-native-onyx": "^2.0.91", "react-native-pager-view": "6.5.1", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", @@ -32336,9 +32336,9 @@ } }, "node_modules/react-native-onyx": { - "version": "2.0.92", - "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-2.0.92.tgz", - "integrity": "sha512-6StFOp3j4DC3gsY5Cl1qcbZ8mXL1RUMyzDf4l4im/4QlF6+bSpOHdYDZZjrUddbO/i1PA5ktUnAK4NM/JQ+BZg==", + "version": "2.0.91", + "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-2.0.91.tgz", + "integrity": "sha512-tmRnU6+1DxL+Vbs+7fZWWx2plSDrgs/s6cR2XRamjScpqkeXaaTeajZUNpMImIHZQI5eSazRySNxO5zKnzCL1w==", "license": "MIT", "dependencies": { "ascii-table": "0.0.9", diff --git a/package.json b/package.json index 42e75636878a..4c6a104fb8fe 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "2.0.92", + "react-native-onyx": "^2.0.91", "react-native-pager-view": "6.5.1", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", From da2875ce5d7e3a6a50758265e55d2e4db333025d Mon Sep 17 00:00:00 2001 From: Yauheni Pasiukevich Date: Thu, 6 Feb 2025 14:41:34 +0100 Subject: [PATCH 3/4] Revert Onyx downgrade --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0d02e82fd204..47e02d412519 100644 --- a/package-lock.json +++ b/package-lock.json @@ -99,7 +99,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "^2.0.91", + "react-native-onyx": "^2.0.92", "react-native-pager-view": "6.5.1", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", @@ -32336,9 +32336,9 @@ } }, "node_modules/react-native-onyx": { - "version": "2.0.91", - "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-2.0.91.tgz", - "integrity": "sha512-tmRnU6+1DxL+Vbs+7fZWWx2plSDrgs/s6cR2XRamjScpqkeXaaTeajZUNpMImIHZQI5eSazRySNxO5zKnzCL1w==", + "version": "2.0.92", + "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-2.0.92.tgz", + "integrity": "sha512-6StFOp3j4DC3gsY5Cl1qcbZ8mXL1RUMyzDf4l4im/4QlF6+bSpOHdYDZZjrUddbO/i1PA5ktUnAK4NM/JQ+BZg==", "license": "MIT", "dependencies": { "ascii-table": "0.0.9", diff --git a/package.json b/package.json index 4c6a104fb8fe..f822898bcf0c 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "^2.0.91", + "react-native-onyx": "^2.0.92", "react-native-pager-view": "6.5.1", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", From 003b702537e252ce98f539cf93e12c0a5ccbad18 Mon Sep 17 00:00:00 2001 From: Yauheni Pasiukevich Date: Thu, 6 Feb 2025 14:46:29 +0100 Subject: [PATCH 4/4] Fix typo --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 47e02d412519..30002a164a28 100644 --- a/package-lock.json +++ b/package-lock.json @@ -99,7 +99,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "^2.0.92", + "react-native-onyx": "2.0.92", "react-native-pager-view": "6.5.1", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", diff --git a/package.json b/package.json index f822898bcf0c..42e75636878a 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "^2.0.92", + "react-native-onyx": "2.0.92", "react-native-pager-view": "6.5.1", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0",