diff --git a/src/App/Pages/Send/SendAddEditPage.xaml b/src/App/Pages/Send/SendAddEditPage.xaml
index b77b5c4a4..a90ed8cd0 100644
--- a/src/App/Pages/Send/SendAddEditPage.xaml
+++ b/src/App/Pages/Send/SendAddEditPage.xaml
@@ -71,7 +71,8 @@
+ HorizontalTextAlignment="Center"
+ AutomationId="SendDisabledWarningMessageLabel" />
+ HorizontalTextAlignment="Center"
+ AutomationId="SendOptionsPolicyInEffectLabel" />
+ StyleClass="box-value"
+ AutomationId="SendNameEntry" />
+ HorizontalTextAlignment="Center"
+ AutomationId="SendNoFileChosenLabel" />
+ HorizontalTextAlignment="Center"
+ AutomationId="SendCurrentFileNameLabel" />
+ Clicked="ChooseFile_Clicked"
+ AutomationId="SendChooseFileButton" />
@@ -235,7 +246,8 @@
IsToggled="{Binding Send.Text.Hidden}"
IsEnabled="{Binding SendEnabled}"
HorizontalOptions="End"
- Margin="10,0,0,0" />
+ Margin="10,0,0,0"
+ AutomationId="SendHideTextByDefaultToggle" />
+ Margin="10,0,0,0"
+ AutomationId="SendShareSendAfterSaveToggle" />
+ AutomationProperties.IsInAccessibleTree="False"
+ AutomationId="SendShowHideOptionsButton" />
+ AutomationProperties.IsInAccessibleTree="False"
+ AutomationId="SendOptionsDisplayed" />
+ AutomationProperties.IsInAccessibleTree="False"
+ AutomationId="SendOptionsHidden" />
+ AutomationProperties.Name="{u:I18n DeletionTime}"
+ AutomationId="SendDeletionOptionsPicker" />
@@ -308,14 +325,16 @@
IsEnabled="{Binding SendEnabled}"
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="{u:I18n DeletionDate}"
- Grid.Column="0" />
+ Grid.Column="0"
+ AutomationId="SendCustomDeletionDatePicker" />
+ Grid.Column="1"
+ AutomationId="SendCustomDeletionTimePicker" />
+ AutomationProperties.Name="{u:I18n ExpirationTime}"
+ AutomationId="SendExpirationOptionsPicker" />
@@ -349,7 +369,8 @@
IsEnabled="{Binding SendEnabled}"
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="{u:I18n ExpirationDate}"
- Grid.Column="0" />
+ Grid.Column="0"
+ AutomationId="SendCustomExpirationDatePicker" />
+ Grid.Column="1"
+ AutomationId="SendCustomExpirationTimePicker" />
+ Clicked="ClearExpirationDate_Clicked"
+ AutomationId="SendClearExpirationDateButton" />
+ HorizontalOptions="FillAndExpand"
+ AutomationId="SendMaxAccessCountEntry" />
+ Margin="10,0,0,0"
+ AutomationId="SendMaxAccessCountStepper" />
+ VerticalTextAlignment="Center"
+ AutomationId="SendCurrentAccessCountLabel" />
+ HorizontalOptions="FillAndExpand"
+ AutomationId="SendNewPasswordEntry" />
+ AutomationProperties.HelpText="{Binding PasswordVisibilityAccessibilityText}"
+ AutomationId="SendShowHidePasswordButton" />
+ effects:ScrollEnabledEffect.IsScrollEnabled="false"
+ AutomationId="SendNotesEntry">
@@ -492,7 +521,8 @@
IsToggled="{Binding Send.HideEmail}"
IsEnabled="{Binding DisableHideEmailControl, Converter={StaticResource inverseBool}}"
HorizontalOptions="End"
- Margin="10,0,0,0" />
+ Margin="10,0,0,0"
+ AutomationId="SendHideEmailSwitch" />
+ Margin="10,0,0,0"
+ AutomationId="SendDeactivateSwitch" />
diff --git a/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml b/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml
index af2eb475d..e53e8cdeb 100644
--- a/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml
+++ b/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml
@@ -44,13 +44,15 @@
+ ShowOptions="{Binding BindingContext.SendEnabled, Source={x:Reference _page}}"
+ AutomationId="SendCell" />
+ StyleClass="list-row, list-row-platform"
+ AutomationId="{Binding AutomationId}">
+ StyleClass="list-title"
+ AutomationId="SendFilterNameLabel" />
+ StyleClass="list-sub"
+ AutomationId="SendFilterCountLabel" />
diff --git a/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPageListItem.cs b/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPageListItem.cs
index a89ebf18d..81a65a2be 100644
--- a/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPageListItem.cs
+++ b/src/App/Pages/Send/SendGroupingsPage/SendGroupingsPageListItem.cs
@@ -66,5 +66,27 @@ namespace Bit.App.Pages
return _icon;
}
}
+
+ public string AutomationId
+ {
+ get
+ {
+ if (_name != null)
+ {
+ return "SendItem";
+ }
+ if (Type != null)
+ {
+ switch (Type.Value)
+ {
+ case SendType.Text:
+ return "SendTextFilter";
+ case SendType.File:
+ return "SendFileFilter";
+ }
+ }
+ return null;
+ }
+ }
}
}
diff --git a/src/App/Pages/Send/SendsPage.xaml b/src/App/Pages/Send/SendsPage.xaml
index b2194eb31..e4ceabf13 100644
--- a/src/App/Pages/Send/SendsPage.xaml
+++ b/src/App/Pages/Send/SendsPage.xaml
@@ -59,7 +59,8 @@
Margin="20, 0"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand"
- HorizontalTextAlignment="Center" />
+ HorizontalTextAlignment="Center"
+ AutomationId="NoSendDisplayedLabel" />