Skip to content

Commit e133fed

Browse files
author
Ali
committed
Modify
1 parent ca2f709 commit e133fed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/feature-credit/src/androidTest/java/com/sample/tmdb/credit/PersonScreenTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import androidx.compose.foundation.rememberScrollState
55
import androidx.compose.runtime.mutableStateOf
66
import androidx.compose.ui.test.assertIsDisplayed
77
import androidx.compose.ui.test.junit4.createAndroidComposeRule
8-
import androidx.compose.ui.test.onAllNodesWithContentDescription
8+
import androidx.compose.ui.test.onNodeWithContentDescription
99
import androidx.compose.ui.test.onNodeWithText
1010
import androidx.compose.ui.unit.dp
1111
import com.sample.tmdb.domain.model.Person
@@ -43,7 +43,7 @@ class PersonScreenTest {
4343
setContent {
4444
Up {}
4545
}
46-
onAllNodesWithContentDescription(activity.getString(commonR.string.back))
46+
onNodeWithContentDescription(activity.getString(commonR.string.back)).assertIsDisplayed()
4747
}
4848
}
4949

0 commit comments

Comments
 (0)