For #10705: Update copy of auto font sizing preference.
parent
a62f4b2caa
commit
44d9dc9237
|
@ -77,7 +77,7 @@ class SettingsSubMenuAccessibilityRobot {
|
||||||
val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
|
val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
|
||||||
|
|
||||||
private fun assertAutomaticFontSizingMenuItems() {
|
private fun assertAutomaticFontSizingMenuItems() {
|
||||||
onView(withText("Automatic Font Sizing"))
|
onView(withText("Automatic font sizing"))
|
||||||
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||||
val strFont = "Font size will match your Android settings. Disable to manage font size here."
|
val strFont = "Font size will match your Android settings. Disable to manage font size here."
|
||||||
onView(withText(strFont))
|
onView(withText(strFont))
|
||||||
|
@ -86,7 +86,7 @@ private fun assertAutomaticFontSizingMenuItems() {
|
||||||
|
|
||||||
private fun toggleFontSizingSwitch() {
|
private fun toggleFontSizingSwitch() {
|
||||||
// Toggle font size to off
|
// Toggle font size to off
|
||||||
onView(withText("Automatic Font Sizing"))
|
onView(withText("Automatic font sizing"))
|
||||||
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||||
.perform(click())
|
.perform(click())
|
||||||
}
|
}
|
||||||
|
|
|
@ -797,7 +797,7 @@
|
||||||
<string name="preference_accessibility_font_size_title">Font Size</string>
|
<string name="preference_accessibility_font_size_title">Font Size</string>
|
||||||
|
|
||||||
<!-- Title for Accessibility Text Automatic Size Scaling Preference -->
|
<!-- Title for Accessibility Text Automatic Size Scaling Preference -->
|
||||||
<string name="preference_accessibility_auto_size">Automatic Font Sizing</string>
|
<string name="preference_accessibility_auto_size_2">Automatic font sizing</string>
|
||||||
<!-- Summary for Accessibility Text Automatic Size Scaling Preference -->
|
<!-- Summary for Accessibility Text Automatic Size Scaling Preference -->
|
||||||
<string name="preference_accessibility_auto_size_summary">Font size will match your Android settings. Disable to manage font size here.</string>
|
<string name="preference_accessibility_auto_size_summary">Font size will match your Android settings. Disable to manage font size here.</string>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
android:defaultValue="true"
|
android:defaultValue="true"
|
||||||
android:key="@string/pref_key_accessibility_auto_size"
|
android:key="@string/pref_key_accessibility_auto_size"
|
||||||
android:summary="@string/preference_accessibility_auto_size_summary"
|
android:summary="@string/preference_accessibility_auto_size_summary"
|
||||||
android:title="@string/preference_accessibility_auto_size"
|
android:title="@string/preference_accessibility_auto_size_2"
|
||||||
app:iconSpaceReserved="false" />
|
app:iconSpaceReserved="false" />
|
||||||
<!-- Custom Preference that scales from 50-200% by steps of 5 represented by 0-30 in steps of 1-->
|
<!-- Custom Preference that scales from 50-200% by steps of 5 represented by 0-30 in steps of 1-->
|
||||||
<org.mozilla.fenix.settings.TextPercentageSeekBarPreference
|
<org.mozilla.fenix.settings.TextPercentageSeekBarPreference
|
||||||
|
|
Loading…
Reference in New Issue