File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
features/feature-credit/src/androidTest/java/com/sample/tmdb/credit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import androidx.compose.foundation.rememberScrollState
5
5
import androidx.compose.runtime.mutableStateOf
6
6
import androidx.compose.ui.test.assertIsDisplayed
7
7
import androidx.compose.ui.test.junit4.createAndroidComposeRule
8
- import androidx.compose.ui.test.onAllNodesWithContentDescription
8
+ import androidx.compose.ui.test.onNodeWithContentDescription
9
9
import androidx.compose.ui.test.onNodeWithText
10
10
import androidx.compose.ui.unit.dp
11
11
import com.sample.tmdb.domain.model.Person
@@ -43,7 +43,7 @@ class PersonScreenTest {
43
43
setContent {
44
44
Up {}
45
45
}
46
- onAllNodesWithContentDescription (activity.getString(commonR.string.back))
46
+ onNodeWithContentDescription (activity.getString(commonR.string.back)).assertIsDisplayed( )
47
47
}
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments