PM-15037 Correct the text for the confirm error dialog on import logins screen (#4478)

This commit is contained in:
Dave Severns 2024-12-16 13:27:06 -05:00 committed by GitHub
parent be88cdf42e
commit 889457ae96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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,
)

View File

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