Skip to content

Commit 2eee06e

Browse files
committed
Update GeneralPage.xaml
1 parent 4ad13ad commit 2eee06e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Files.App/Views/Settings/GeneralPage.xaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Text="{helpers:ResourceString Name=General}" />
3232

3333
<!-- Language settings -->
34-
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=Language}">
34+
<wctcontrols:SettingsCard AutomationProperties.Name="LanguageSettings" Header="{helpers:ResourceString Name=Language}">
3535
<wctcontrols:SettingsCard.HeaderIcon>
3636
<FontIcon Glyph="&#xF2B7;" />
3737
</wctcontrols:SettingsCard.HeaderIcon>
@@ -52,6 +52,7 @@
5252
<!-- Date settings -->
5353
<wctcontrols:SettingsCard
5454
HorizontalAlignment="Stretch"
55+
AutomationProperties.Name="DateSettings"
5556
Description="{x:Bind ViewModel.DateFormatSample}"
5657
Header="{helpers:ResourceString Name=DateFormat}">
5758
<wctcontrols:SettingsCard.HeaderIcon>
@@ -84,7 +85,7 @@
8485
</wctcontrols:SettingsCard>
8586

8687
<!-- Startup settings -->
87-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=StartupSettings}">
88+
<wctcontrols:SettingsExpander AutomationProperties.Name="AppStartupSettings" Header="{helpers:ResourceString Name=StartupSettings}">
8889
<wctcontrols:SettingsExpander.HeaderIcon>
8990
<FontIcon Glyph="&#xE7E8;" />
9091
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -194,7 +195,7 @@
194195
</wctcontrols:SettingsExpander>
195196

196197
<!-- Switch to new tab -->
197-
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=AlwaysSwitchToNewlyOpenedTab}">
198+
<wctcontrols:SettingsCard AutomationProperties.Name="SwitchToNewTabSetting" Header="{helpers:ResourceString Name=AlwaysSwitchToNewlyOpenedTab}">
198199
<wctcontrols:SettingsCard.HeaderIcon>
199200
<FontIcon Glyph="&#xE8AB;" />
200201
</wctcontrols:SettingsCard.HeaderIcon>
@@ -241,7 +242,7 @@
241242
Text="{helpers:ResourceString Name=SettingsContextMenu/Text}" />
242243

243244
<!-- Context menu options -->
244-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=ContextMenuOptions}">
245+
<wctcontrols:SettingsExpander AutomationProperties.Name="ContextMenuSettings" Header="{helpers:ResourceString Name=ContextMenuOptions}">
245246
<wctcontrols:SettingsExpander.HeaderIcon>
246247
<FontIcon Glyph="&#xE74C;" />
247248
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -309,7 +310,7 @@
309310

310311

311312
<!-- Overflow Options -->
312-
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=SettingsContextMenuOverflow}">
313+
<wctcontrols:SettingsCard AutomationProperties.Name="ContextMenuOverflowSettings" Header="{helpers:ResourceString Name=SettingsContextMenuOverflow}">
313314
<wctcontrols:SettingsCard.HeaderIcon>
314315
<FontIcon Glyph="&#xE712;" />
315316
</wctcontrols:SettingsCard.HeaderIcon>

0 commit comments

Comments
 (0)