diff --git a/app/src/androidTest/java/org/dhis2/usescases/teidashboard/TeiDashboardTest.kt b/app/src/androidTest/java/org/dhis2/usescases/teidashboard/TeiDashboardTest.kt index b6dc9db96f..16f0d8e2cc 100644 --- a/app/src/androidTest/java/org/dhis2/usescases/teidashboard/TeiDashboardTest.kt +++ b/app/src/androidTest/java/org/dhis2/usescases/teidashboard/TeiDashboardTest.kt @@ -253,7 +253,7 @@ class TeiDashboardTest : BaseTest() { @Test fun shouldEnrollToOtherProgramWhenClickOnProgramEnrollments() { - val womanProgram = "MNCH / PNC (Adult Woman)" + val childProgram = "Child Programme" val personAttribute = context.getString(R.string.enrollment_single_section_label).replace("%s", "") val visitPNCEvent = "PNC Visit" @@ -272,7 +272,7 @@ class TeiDashboardTest : BaseTest() { } enrollmentRobot { - clickOnAProgramForEnrollment(composeTestRule, womanProgram) + clickOnAProgramForEnrollment(composeTestRule, childProgram) clickOnAcceptInDatePicker() clickOnPersonAttributes(personAttribute) waitToDebounce(5000)