diff --git a/app/src/androidTest/java/org/dhis2/usescases/event/EventTest.kt b/app/src/androidTest/java/org/dhis2/usescases/event/EventTest.kt index 03bb401ac36..b557dbb3b59 100644 --- a/app/src/androidTest/java/org/dhis2/usescases/event/EventTest.kt +++ b/app/src/androidTest/java/org/dhis2/usescases/event/EventTest.kt @@ -122,7 +122,6 @@ class EventTest : BaseTest() { val atenatalCare = "lxAQ7Zs9VYR" prepareProgramAndLaunchActivity(atenatalCare) - disableRecyclerViewAnimations() programEventsRobot(composeTestRule) { clickOnAddEvent() @@ -175,14 +174,4 @@ class EventTest : BaseTest() { putExtra(ProgramEventDetailActivity.EXTRA_PROGRAM_UID, programUid) }.also { eventListRule.launch(it) } } - - private fun disableRecyclerViewAnimations() { - eventListRule.getScenario().onActivity { - it.runOnUiThread { - it.supportFragmentManager.findFragmentByTag("EVENT_LIST").apply { - (this as EventListFragment).binding.recycler.itemAnimator = null - } - } - } - } } \ No newline at end of file