PM-10632 update the copy on setup complete (#4020)

This commit is contained in:
Dave Severns 2024-10-03 17:37:43 -04:00 committed by GitHub
parent 567c2ffb94
commit c8dcafe737
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View file

@ -537,7 +537,7 @@ Scanning will happen automatically.</string>
<string name="privacy_policy">Privacy Policy</string>
<string name="accessibility_draw_over_permission_alert">Bitwarden needs attention - Turn on \"Draw-Over\" in \"Auto-fill Services\" from Bitwarden Settings</string>
<string name="passkey_management">Passkey management</string>
<string name="autofill_services">Auto-fill services</string>
<string name="autofill_services">Autofill services</string>
<string name="inline_autofill">Use inline autofill</string>
<string name="inline_autofill_description">Use inline autofill if your selected IME (keyboard) supports it. If your configuration is not supported (or this option is turned off), the default Autofill overlay will be used.</string>
<string name="accessibility">Use accessibility</string>
@ -1005,7 +1005,7 @@ Do you want to switch to this account?</string>
<string name="turn_on_later">Turn on later</string>
<string name="turn_on_autofill_later">Turn on autofill later?</string>
<string name="return_to_complete_this_step_anytime_in_settings">You can return to complete this step anytime in Settings.</string>
<string name="what_bitwarden_has_to_offer">You can now use autofill to log into apps and websites using your saved passwords. Now, you can explore everything else Bitwarden has to offer.</string>
<string name="what_bitwarden_has_to_offer">You can now explore everything Bitwarden has to offer and start managing your passwords securely.</string>
<string name="youre_all_set">You\'re all set!</string>
<string name="error_connecting_with_the_duo_service_use_a_different_two_step_login_method_or_contact_duo_for_assistance">Error connecting with the Duo service. Use a different two-step login method or contact Duo for assistance.</string>
<string name="master_password_hint_not_specified">Master password hint</string>

View file

@ -45,7 +45,7 @@ class SetupAutofillScreenTest : BaseComposeTest() {
@Test
fun `Turning on autofill should send AutofillServiceChanged with value of true`() {
composeTestRule
.onNodeWithText("Auto-fill services")
.onNodeWithText("Autofill services")
.performScrollTo()
.performClick()
@ -60,7 +60,7 @@ class SetupAutofillScreenTest : BaseComposeTest() {
it.copy(autofillEnabled = true)
}
composeTestRule
.onNodeWithText("Auto-fill services", ignoreCase = true)
.onNodeWithText("Autofill services", ignoreCase = true)
.performScrollTo()
.performClick()
verify {

View file

@ -198,7 +198,7 @@ class AutoFillScreenTest : BaseComposeTest() {
@Test
fun `on auto fill services toggle should send AutoFillServicesClick`() {
composeTestRule
.onNodeWithText("Auto-fill services")
.onNodeWithText("Autofill services")
.performScrollTo()
.performClick()
verify { viewModel.trySendAction(AutoFillAction.AutoFillServicesClick(true)) }
@ -207,12 +207,12 @@ class AutoFillScreenTest : BaseComposeTest() {
@Test
fun `auto fill services should be toggled on or off according to state`() {
composeTestRule
.onNodeWithText("Auto-fill services")
.onNodeWithText("Autofill services")
.performScrollTo()
.assertIsOff()
mutableStateFlow.update { it.copy(isAutoFillServicesEnabled = true) }
composeTestRule
.onNodeWithText("Auto-fill services")
.onNodeWithText("Autofill services")
.performScrollTo()
.assertIsOn()
}