diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue25200.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue25200.cs index 717052779734..7c562c6aef48 100644 --- a/src/Controls/tests/TestCases.HostApp/Issues/Issue25200.cs +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue25200.cs @@ -13,7 +13,7 @@ protected override void Init() button.Clicked += async (sender, e) => { - await DisplayActionSheet("Actionsheet is set to hardcoded maxheight and maxwidth", "Cancel", null, + await DisplayActionSheet("Actionsheet is set to hardcoded maxheight and maxwidth", "Cancel", null, "Option 1/6", "Option 2/6", "Option 3/6", "Option 4/6", "Option 5/6", "Option 6/6"); }; @@ -39,8 +39,8 @@ await DisplayActionSheet("Actionsheet is set to hardcoded maxheight and maxwidth button3.Clicked += async (sender, e) => { await DisplayActionSheet("This is a very long title that should wrap properly to multiple lines instead of being truncated or causing horizontal overflow issues like it might on Windows", "Cancel", null, - "First Option", - "Second Option - this is a very long option text that should also wrap properly to multiple lines just like it does on Android platform to ensure cross-platform consistency", + "First Option", + "Second Option - this is a very long option text that should also wrap properly to multiple lines just like it does on Android platform to ensure cross-platform consistency", "Third Option", "Fourth Option - another long option to test that multiple long options can all wrap properly without causing display issues or horizontal scrolling like the old Windows implementation"); }; diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs index 555802b214b0..6290a3f3c3a7 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs @@ -19,7 +19,7 @@ public void ActionSheetWithSixActionsShouldDisplayProperly() // Verify the ActionSheet title is visible App.WaitForElement("Actionsheet is set to hardcoded maxheight and maxwidth"); - + // Verify all options are visible App.WaitForElement("Option 1/6"); App.WaitForElement("Option 2/6"); @@ -27,7 +27,7 @@ public void ActionSheetWithSixActionsShouldDisplayProperly() App.WaitForElement("Option 4/6"); App.WaitForElement("Option 5/6"); App.WaitForElement("Option 6/6"); - + // Verify Cancel button is visible App.WaitForElement("Cancel"); @@ -46,7 +46,7 @@ public void ActionSheetWithManyActionsShouldDisplayProperly() // Verify the ActionSheet title is visible App.WaitForElement("This actionsheet has many more options to test if all are visible"); - + // Verify some key options are visible App.WaitForElement("First Option"); App.WaitForElement("Sixth Option"); @@ -87,7 +87,7 @@ public void ActionSheetWithLongTitleShouldDisplayProperly() App.WaitForElement("Second Option - this is a very long option text that should also wrap properly to multiple lines just like it does on Android platform to ensure cross-platform consistency"); App.WaitForElement("Third Option"); App.WaitForElement("Fourth Option - another long option to test that multiple long options can all wrap properly without causing display issues or horizontal scrolling like the old Windows implementation"); - + // Verify Cancel button is visible App.WaitForElement("Cancel");