@ -48,7 +48,7 @@ class SettingsDialogTest {
}
}
composeTestRule
composeTestRule
. onNodeWithText ( getString ( R . string . feature _settings _ loading) )
. onNodeWithText ( getString ( R . string . feature _settings _ impl_ loading) )
. assertExists ( )
. assertExists ( )
}
}
@ -71,17 +71,17 @@ class SettingsDialogTest {
}
}
// Check that all the possible settings are displayed.
// Check that all the possible settings are displayed.
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ brand_default ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ brand_default ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ brand_android ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ brand_android ) ) . assertExists ( )
composeTestRule . onNodeWithText (
composeTestRule . onNodeWithText (
getString ( R . string . feature _settings _ dark_mode _config _system _default ) ,
getString ( R . string . feature _settings _ impl_ dark_mode _config _system _default ) ,
) . assertExists ( )
) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dark_mode _config _light ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dark_mode _config _light ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dark_mode _config _dark ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dark_mode _config _dark ) ) . assertExists ( )
// Check that the correct settings are selected.
// Check that the correct settings are selected.
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ brand_android ) ) . assertIsSelected ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ brand_android ) ) . assertIsSelected ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dark_mode _config _dark ) ) . assertIsSelected ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dark_mode _config _dark ) ) . assertIsSelected ( )
}
}
@Test
@Test
@ -103,12 +103,12 @@ class SettingsDialogTest {
)
)
}
}
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _preference ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _preference ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _yes ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _yes ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _no ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _no ) ) . assertExists ( )
// Check that the correct default dynamic color setting is selected.
// Check that the correct default dynamic color setting is selected.
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _no ) ) . assertIsSelected ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _no ) ) . assertIsSelected ( )
}
}
@Test
@Test
@ -129,10 +129,10 @@ class SettingsDialogTest {
)
)
}
}
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _preference ) )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _preference ) )
. assertDoesNotExist ( )
. assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _yes ) ) . assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _yes ) ) . assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _no ) ) . assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _no ) ) . assertDoesNotExist ( )
}
}
@Test
@Test
@ -153,10 +153,10 @@ class SettingsDialogTest {
)
)
}
}
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _preference ) )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _preference ) )
. assertDoesNotExist ( )
. assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _yes ) ) . assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _yes ) ) . assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ dynamic_color _no ) ) . assertDoesNotExist ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ dynamic_color _no ) ) . assertDoesNotExist ( )
}
}
@Test
@Test
@ -177,9 +177,9 @@ class SettingsDialogTest {
)
)
}
}
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ privacy_policy ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ privacy_policy ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ licenses) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ licenses) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ brand_guidelines ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ brand_guidelines ) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ feedback) ) . assertExists ( )
composeTestRule . onNodeWithText ( getString ( R . string . feature _settings _ impl_ feedback) ) . assertExists ( )
}
}
}
}