diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/HeaderAndFooterShouldBeVisible.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/HeaderAndFooterShouldBeVisible.png new file mode 100644 index 000000000000..58063c4f345c Binary files /dev/null and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/HeaderAndFooterShouldBeVisible.png differ diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue19338.xaml b/src/Controls/tests/TestCases.HostApp/Issues/Issue19338.xaml new file mode 100644 index 000000000000..f030c8f08979 --- /dev/null +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue19338.xaml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue19338.xaml.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue19338.xaml.cs new file mode 100644 index 000000000000..ab409d664c7c --- /dev/null +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue19338.xaml.cs @@ -0,0 +1,11 @@ +namespace Maui.Controls.Sample.Issues; + +[XamlCompilation(XamlCompilationOptions.Compile)] +[Issue(IssueTracker.Github, 19338, "Border.Shadow hide the collectionView Header", PlatformAffected.iOS)] +public partial class Issue19338 : ContentPage +{ + public Issue19338() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19338.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19338.cs new file mode 100644 index 000000000000..87eacb820a14 --- /dev/null +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19338.cs @@ -0,0 +1,23 @@ +using NUnit.Framework; +using UITest.Appium; +using UITest.Core; + +namespace Microsoft.Maui.TestCases.Tests.Issues +{ + public class Issue19338 : _IssuesUITest + { + public Issue19338(TestDevice testDevice) : base(testDevice) + { + } + + public override string Issue => "Border.Shadow hide the collectionView Header"; + + [Test] + [Category(UITestCategories.CollectionView)] + public void HeaderAndFooterShouldBeVisible() + { + App.WaitForElement("HeaderLabel"); + VerifyScreenshot(); + } + } +} \ No newline at end of file diff --git a/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/HeaderAndFooterShouldBeVisible.png b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/HeaderAndFooterShouldBeVisible.png new file mode 100644 index 000000000000..9079c7417db0 Binary files /dev/null and b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/HeaderAndFooterShouldBeVisible.png differ diff --git a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderAndFooterShouldBeVisible.png b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderAndFooterShouldBeVisible.png new file mode 100644 index 000000000000..6bf34ccfb909 Binary files /dev/null and b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderAndFooterShouldBeVisible.png differ