[PM-2798] Fixing Toolbar locators in FolderAddEditPage (#2592)

* Fixing Toolbar locators

* Adding Matt's suggestions
This commit is contained in:
ifernandezdiaz 2023-06-29 15:50:01 -03:00 committed by GitHub
parent 72e67bd6f2
commit 175b9936b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,16 +13,18 @@
</ContentPage.BindingContext>
<ContentPage.ToolbarItems>
<ToolbarItem Text="{u:I18n Cancel}" Clicked="Close_Clicked" Order="Primary" Priority="-1"
AutomationId="CancelButton" />
<ToolbarItem Text="{u:I18n Save}" Clicked="Save_Clicked" Order="Primary"
AutomationId="SaveFolderButton" />
<ToolbarItem Text="{u:I18n Cancel}"
Clicked="Close_Clicked"
Order="Primary"
Priority="-1" />
<ToolbarItem Text="{u:I18n Save}"
Clicked="Save_Clicked"
Order="Primary" />
<ToolbarItem Text="{u:I18n Delete}"
Clicked="Delete_Clicked"
Order="Secondary"
IsDestructive="True"
x:Name="_deleteItem"
AutomationId="DeleteFolderButton" />
x:Name="_deleteItem" />
</ContentPage.ToolbarItems>
<ContentPage.Resources>