From bc5c11b47f66923d822e796d4d37670a1cffd385 Mon Sep 17 00:00:00 2001 From: ifernandezdiaz Date: Thu, 15 Jun 2023 16:11:55 -0300 Subject: [PATCH] Adding AutomationIDs on Generator page elements (#2569) * Adding AutomationIDs on Generator pages * Adding missing spaces --- .../Pages/Generator/GeneratorHistoryPage.xaml | 18 ++- src/App/Pages/Generator/GeneratorPage.xaml | 126 ++++++++++++------ 2 files changed, 96 insertions(+), 48 deletions(-) diff --git a/src/App/Pages/Generator/GeneratorHistoryPage.xaml b/src/App/Pages/Generator/GeneratorHistoryPage.xaml index e1a7f7733..8fbe19930 100644 --- a/src/App/Pages/Generator/GeneratorHistoryPage.xaml +++ b/src/App/Pages/Generator/GeneratorHistoryPage.xaml @@ -27,7 +27,8 @@ Clicked="Clear_Clicked" Order="Secondary" x:Name="_clearItem" - x:Key="clearItem" /> + x:Key="clearItem" + AutomationId="ClearPasswordList" /> + HorizontalTextAlignment="Center" + AutomationId="NoPasswordsDisplayedLabel"> + ColumnSpacing="10" + AutomationId="GeneratedPasswordRow"> @@ -71,12 +74,14 @@ Grid.Column="0" Grid.Row="0" StyleClass="list-title, list-title-platform, text-html" - Text="{Binding Password, Mode=OneWay, Converter={StaticResource coloredPassword}}" /> + Text="{Binding Password, Mode=OneWay, Converter={StaticResource coloredPassword}}" + AutomationId="GeneratedPasswordValue" />