Adding missing AutomationIDs on LoginPasswordlessRequestListPage (#2693)

This commit is contained in:
ifernandezdiaz 2023-08-16 11:09:07 -03:00 committed by GitHub
parent 8474f536ff
commit 01ac20e6e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,8 @@
Padding="10, 0" Padding="10, 0"
RowSpacing="0" RowSpacing="0"
RowDefinitions="*, Auto, *, 10" RowDefinitions="*, Auto, *, 10"
ColumnDefinitions="*, *"> ColumnDefinitions="*, *"
AutomationId="LoginRequestCell">
<Label <Label
Text="{u:I18n FingerprintPhrase}" Text="{u:I18n FingerprintPhrase}"
FontSize="Small" FontSize="Small"
@ -45,20 +46,23 @@
FontSize="Small" FontSize="Small"
Padding="0, 5, 0, 10" Padding="0, 5, 0, 10"
VerticalTextAlignment="Center" VerticalTextAlignment="Center"
TextColor="{DynamicResource FingerprintPhrase}"/> TextColor="{DynamicResource FingerprintPhrase}"
AutomationId="FingerprintPhraseLabel" />
<Label <Label
Grid.Row="2" Grid.Row="2"
HorizontalOptions="Start" HorizontalOptions="Start"
HorizontalTextAlignment="Start" HorizontalTextAlignment="Start"
Text="{Binding RequestDeviceType}" Text="{Binding RequestDeviceType}"
StyleClass="list-header-sub" /> StyleClass="list-header-sub"
AutomationId="RequestDeviceLabel" />
<Label <Label
Grid.Row="2" Grid.Row="2"
Grid.Column="1" Grid.Column="1"
HorizontalOptions="End" HorizontalOptions="End"
HorizontalTextAlignment="End" HorizontalTextAlignment="End"
Text="{Binding CreationDate, Converter={StaticResource dateTime}}" Text="{Binding CreationDate, Converter={StaticResource dateTime}}"
StyleClass="list-header-sub" /> StyleClass="list-header-sub"
AutomationId="RequestDateLabel" />
<BoxView <BoxView
StyleClass="list-section-separator-top, list-section-separator-top-platform" StyleClass="list-section-separator-top, list-section-separator-top-platform"
VerticalOptions="End" VerticalOptions="End"
@ -94,7 +98,8 @@
Margin="10,0" Margin="10,0"
Icon="{Binding Source={x:Static core:BitwardenIcons.Trash}}" Icon="{Binding Source={x:Static core:BitwardenIcons.Trash}}"
Label="{u:I18n DeclineAllRequests}" Label="{u:I18n DeclineAllRequests}"
ButtonCommand="{Binding DeclineAllRequestsCommand}"/> ButtonCommand="{Binding DeclineAllRequestsCommand}"
AutomationId="DeleteAllRequestsButton" />
</StackLayout> </StackLayout>
</ResourceDictionary> </ResourceDictionary>
</ContentPage.Resources> </ContentPage.Resources>