Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Controls/tests/TestCases.HostApp/Issues/Issue25200.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
};

Expand All @@ -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");
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ 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");
App.WaitForElement("Option 3/6");
App.WaitForElement("Option 4/6");
App.WaitForElement("Option 5/6");
App.WaitForElement("Option 6/6");

// Verify Cancel button is visible
App.WaitForElement("Cancel");

Expand All @@ -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");
Expand Down Expand Up @@ -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");

Expand Down