Skip to content

Commit

Permalink
PM-15037 Correct the text for the confirm error dialog on import logi…
Browse files Browse the repository at this point in the history
…ns screen (#4478)
  • Loading branch information
dseverns-livefront authored Dec 16, 2024
1 parent be88cdf commit 889457a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private fun ImportLoginsDialogContent(
message = dialogState.message(),
onDismissRequest = handler.onDismissDialog,
confirmButtonText = stringResource(R.string.try_again),
dismissButtonText = stringResource(R.string.ok),
dismissButtonText = stringResource(R.string.import_logins_later),
onConfirmClick = handler.onRetrySync,
onDismissClick = handler.onFailedSyncAcknowledged,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ class ImportLoginsScreenTest : BaseComposeTest() {
verifyActionSent(ImportLoginsAction.RetryVaultSync)

composeTestRule
.onAllNodesWithText("Ok")
.onAllNodesWithText("Import logins later")
.filterToOne(hasAnyAncestor(isDialog()))
.assertIsDisplayed()
.performClick()
Expand Down Expand Up @@ -420,7 +420,7 @@ class ImportLoginsScreenTest : BaseComposeTest() {
verifyActionSent(ImportLoginsAction.RetryVaultSync)

composeTestRule
.onAllNodesWithText("Ok")
.onAllNodesWithText("Import logins later")
.filterToOne(hasAnyAncestor(isDialog()))
.assertIsDisplayed()
.performClick()
Expand Down

0 comments on commit 889457a

Please sign in to comment.