File tree Expand file tree Collapse file tree
features/feature-setting/src/androidTest/java/com/sample/tmdb/setting Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,39 +11,6 @@ class SettingScreenTest {
1111 @get:Rule
1212 val composeTestRule = createAndroidComposeRule<ComponentActivity >()
1313
14- @Test
15- fun settingScreenTest () {
16- with (composeTestRule) {
17- setContent {
18- SettingsScreen ()
19- }
20- onNodeWithText(activity.getString(R .string.language)).assertIsDisplayed()
21- onNodeWithText(activity.getString(R .string.source_code_github)).assertIsDisplayed()
22- onNodeWithText(activity.getString(R .string.privacy_policy)).assertIsDisplayed()
23- onNodeWithText(activity.getString(R .string.version)).assertIsDisplayed()
24- onNodeWithText(activity.getString(R .string.settings)).assertIsDisplayed()
25- }
26- }
27-
28- @Test
29- fun settingsGroupItemTest () {
30- with (composeTestRule) {
31- setContent {
32- SettingsGroupItem (
33- listOf (
34- Settings .Info (
35- R .drawable.ic_info,
36- R .string.version,
37- " 1.1" ,
38- ),
39- ),
40- )
41- }
42- onNodeWithText(activity.getString(R .string.version)).assertIsDisplayed()
43- onNodeWithText(" 1.1" ).assertIsDisplayed()
44- }
45- }
46-
4714 @Test
4815 fun titleText () {
4916 with (composeTestRule) {
You can’t perform that action at this time.
0 commit comments