Remove the language change dialog (#4658)

This commit is contained in:
David Perez
2025-03-11 14:33:22 +00:00
committed by GitHub
parent 409529b9ca
commit 3fca61ad3e
2 changed files with 1 additions and 26 deletions
@@ -64,7 +64,7 @@ class AppearanceScreenTest : BaseComposeTest() {
}
@Test
fun `on language selection dialog item click should send LanguageChange and show dialog`() {
fun `on language selection dialog item click should send LanguageChange`() {
// Clicking the Language row shows the language selection dialog
composeTestRule
.onNodeWithContentDescription(label = "Default (System). Language")
@@ -80,17 +80,6 @@ class AppearanceScreenTest : BaseComposeTest() {
.filterToOne(hasAnyAncestor(isDialog()))
.assertIsNotDisplayed()
// Should show confirmation dialog
composeTestRule
.onAllNodesWithText("Ok")
.filterToOne(hasAnyAncestor(isDialog()))
.assertIsDisplayed()
// Clicking "Ok" should dismiss confirmation dialog
composeTestRule.onAllNodesWithText("Ok")
.filterToOne(hasAnyAncestor(isDialog()))
.performClick()
composeTestRule.assertNoDialogExists()
verify {
viewModel.trySendAction(
AppearanceAction.LanguageChange(