diff --git a/compose-table/src/androidTest/java/org/dhis2/composetable/CellTableTest.kt b/compose-table/src/androidTest/java/org/dhis2/composetable/CellTableTest.kt index ecd24f51e2..24555222c3 100644 --- a/compose-table/src/androidTest/java/org/dhis2/composetable/CellTableTest.kt +++ b/compose-table/src/androidTest/java/org/dhis2/composetable/CellTableTest.kt @@ -1,7 +1,6 @@ package org.dhis2.composetable import androidx.compose.ui.test.junit4.createAndroidComposeRule -import androidx.test.espresso.Espresso import org.dhis2.composetable.data.InputRowOption import org.dhis2.composetable.data.TableAppScreenOptions import org.dhis2.composetable.model.FakeModelType @@ -105,14 +104,14 @@ class CellTableTest { composeTestRule.waitForIdle() clickOnAccept() composeTestRule.waitForIdle() - Espresso.pressBack() assertCellSelected(firstId, 1, 0) clickOnCell(firstId, 1, 0) assertInputComponentInfo( expectedMainLabel = "Text 2", expectedSecondaryLabels = fakeModel.find { it.id == firstId }?.tableHeaderModel?.rows - ?.joinToString(separator = ",") { it.cells[0 % it.cells.size].value } ?: "" + ?.joinToString(separator = ",") { it.cells[0].value } ?: "" + ) } }