Find topic by onNodeWithContentDescription.

Change-Id: Iefc97fd9e52227f51f7d40f8c10cb4878cde90c0
pull/1309/head
Jaehwa Noh 1 year ago
parent 1f0f5b8167
commit 7b5b7c64c1

@ -128,7 +128,7 @@ class ForYouScreenTest {
testData.forEach { testTopic -> testData.forEach { testTopic ->
composeTestRule composeTestRule
.onNodeWithText(testTopic.topic.name) .onNodeWithContentDescription(testTopic.topic.name)
.assertExists() .assertExists()
.assertHasClickAction() .assertHasClickAction()
} }
@ -175,7 +175,7 @@ class ForYouScreenTest {
followableTopicTestData.forEach { testTopic -> followableTopicTestData.forEach { testTopic ->
composeTestRule composeTestRule
.onNodeWithText(testTopic.topic.name) .onNodeWithContentDescription(testTopic.topic.name)
.assertExists() .assertExists()
.assertHasClickAction() .assertHasClickAction()
} }

Loading…
Cancel
Save