From 350626981128b0a453711d0ebed44c918fe95937 Mon Sep 17 00:00:00 2001 From: ifernandezdiaz Date: Mon, 26 Jun 2023 10:31:57 -0300 Subject: [PATCH] [PM-2688] Adding IDs for Options and Folders pages (#2585) * Adding IDs for Options and Folders pages * Fixing extra spaces --- src/App/Pages/Settings/FolderAddEditPage.xaml | 12 +++++++---- src/App/Pages/Settings/FoldersPage.xaml | 9 +++++--- src/App/Pages/Settings/OptionsPage.xaml | 21 ++++++++++++------- 3 files changed, 28 insertions(+), 14 deletions(-) diff --git a/src/App/Pages/Settings/FolderAddEditPage.xaml b/src/App/Pages/Settings/FolderAddEditPage.xaml index 2aa3efb86..97c06a820 100644 --- a/src/App/Pages/Settings/FolderAddEditPage.xaml +++ b/src/App/Pages/Settings/FolderAddEditPage.xaml @@ -13,13 +13,16 @@ - - + + + x:Name="_deleteItem" + AutomationId="DeleteFolderButton" /> @@ -43,7 +46,8 @@ StyleClass="box-value" x:Name="_nameEntry" ReturnType="Go" - ReturnCommand="{Binding SubmitCommand}" /> + ReturnCommand="{Binding SubmitCommand}" + AutomationId="FolderNameEntry" /> diff --git a/src/App/Pages/Settings/FoldersPage.xaml b/src/App/Pages/Settings/FoldersPage.xaml index 5fdd1a567..ed26436f2 100644 --- a/src/App/Pages/Settings/FoldersPage.xaml +++ b/src/App/Pages/Settings/FoldersPage.xaml @@ -31,7 +31,8 @@ Margin="20, 0" VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand" - HorizontalTextAlignment="Center"> + HorizontalTextAlignment="Center" + AutomationId="NoFoldersLabel"> + Padding="10" + AutomationId="FolderCell"> diff --git a/src/App/Pages/Settings/OptionsPage.xaml b/src/App/Pages/Settings/OptionsPage.xaml index fb8a4966f..8a6a407b5 100644 --- a/src/App/Pages/Settings/OptionsPage.xaml +++ b/src/App/Pages/Settings/OptionsPage.xaml @@ -27,7 +27,8 @@ x:Name="_themePicker" ItemsSource="{Binding ThemeOptions, Mode=OneTime}" SelectedIndex="{Binding ThemeSelectedIndex}" - StyleClass="box-value" /> + StyleClass="box-value" + AutomationId="ThemeSelectorPicker" />