[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.BindingContext>
<ContentPage.ToolbarItems> <ContentPage.ToolbarItems>
<ToolbarItem Text="{u:I18n Cancel}" Clicked="Close_Clicked" Order="Primary" Priority="-1" <ToolbarItem Text="{u:I18n Cancel}"
AutomationId="CancelButton" /> Clicked="Close_Clicked"
<ToolbarItem Text="{u:I18n Save}" Clicked="Save_Clicked" Order="Primary" Order="Primary"
AutomationId="SaveFolderButton" /> Priority="-1" />
<ToolbarItem Text="{u:I18n Save}"
Clicked="Save_Clicked"
Order="Primary" />
<ToolbarItem Text="{u:I18n Delete}" <ToolbarItem Text="{u:I18n Delete}"
Clicked="Delete_Clicked" Clicked="Delete_Clicked"
Order="Secondary" Order="Secondary"
IsDestructive="True" IsDestructive="True"
x:Name="_deleteItem" x:Name="_deleteItem" />
AutomationId="DeleteFolderButton" />
</ContentPage.ToolbarItems> </ContentPage.ToolbarItems>
<ContentPage.Resources> <ContentPage.Resources>