From a19642cd8e2871a663096769a86f6cf282c0a068 Mon Sep 17 00:00:00 2001 From: ganfra Date: Tue, 8 Feb 2022 19:34:41 +0100 Subject: [PATCH 1/2] Analytics: fix always null identity property --- .../main/java/im/vector/app/features/analytics/plan/Identity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/analytics/plan/Identity.kt b/vector/src/main/java/im/vector/app/features/analytics/plan/Identity.kt index 99f1fadfc4..d0d40ef481 100644 --- a/vector/src/main/java/im/vector/app/features/analytics/plan/Identity.kt +++ b/vector/src/main/java/im/vector/app/features/analytics/plan/Identity.kt @@ -57,7 +57,7 @@ data class Identity( override fun getProperties(): Map? { return mutableMapOf().apply { - put("ftueUseCaseSelection", null) + put("ftueUseCaseSelection", ftueUseCaseSelection?.name) }.takeIf { it.isNotEmpty() } } } From e72593304f34eacbbdbcdc15d375a9fd12023ffc Mon Sep 17 00:00:00 2001 From: ganfra Date: Tue, 8 Feb 2022 19:35:33 +0100 Subject: [PATCH 2/2] UITests: remove search menu item test case (not visible anymore in E2E room) --- .../androidTest/java/im/vector/app/ui/robot/RoomDetailRobot.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/vector/src/androidTest/java/im/vector/app/ui/robot/RoomDetailRobot.kt b/vector/src/androidTest/java/im/vector/app/ui/robot/RoomDetailRobot.kt index da57b105d7..6cf6ad3551 100644 --- a/vector/src/androidTest/java/im/vector/app/ui/robot/RoomDetailRobot.kt +++ b/vector/src/androidTest/java/im/vector/app/ui/robot/RoomDetailRobot.kt @@ -60,8 +60,6 @@ class RoomDetailRobot { pressBack() clickMenu(R.id.video_call) pressBack() - clickMenu(R.id.search) - pressBack() } fun crawlMessage(message: String) {