mirror of
https://github.com/bitwarden/android.git
synced 2026-07-29 23:28:08 -05:00
Remove the language change dialog (#4658)
This commit is contained in:
+1
-12
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user