Skip to content

Commit

Permalink
PM-10632 update the copy on setup complete (#4020)
Browse files Browse the repository at this point in the history
  • Loading branch information
dseverns-livefront authored Oct 3, 2024
1 parent 567c2ff commit c8dcafe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }
Expand All @@ -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()
}
Expand Down

0 comments on commit c8dcafe

Please sign in to comment.