diff --git a/src/Controls/src/Core/Platform/Windows/TabbedPage/TabbedPageStyle.xaml b/src/Controls/src/Core/Platform/Windows/TabbedPage/TabbedPageStyle.xaml index 1756541e112e..a954d9dbfed7 100644 --- a/src/Controls/src/Core/Platform/Windows/TabbedPage/TabbedPageStyle.xaml +++ b/src/Controls/src/Core/Platform/Windows/TabbedPage/TabbedPageStyle.xaml @@ -5,8 +5,7 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue26754.xaml.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue26754.xaml.cs new file mode 100644 index 000000000000..3e89473e545a --- /dev/null +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue26754.xaml.cs @@ -0,0 +1,10 @@ +namespace Maui.Controls.Sample.Issues; + +[Issue(IssueTracker.Github, 26754, "[Windows] TabbedPage menu item text color", PlatformAffected.iOS)] +public partial class Issue26754 : TabbedPage +{ + public Issue26754() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/VerifyTabbedPageMenuItemTextColor.png b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/VerifyTabbedPageMenuItemTextColor.png new file mode 100644 index 000000000000..dd139db39f53 Binary files /dev/null and b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/VerifyTabbedPageMenuItemTextColor.png differ diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue26754.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue26754.cs new file mode 100644 index 000000000000..a22e5501f91d --- /dev/null +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue26754.cs @@ -0,0 +1,24 @@ +using NUnit.Framework; +using UITest.Appium; +using UITest.Core; + +namespace Microsoft.Maui.TestCases.Tests.Issues +{ + public class Issue26754 : _IssuesUITest + { + public override string Issue => "[Windows] TabbedPage menu item text color"; + + public Issue26754(TestDevice device) + : base(device) + { } + + [Test] + [Category(UITestCategories.TabbedPage)] + public void VerifyTabbedPageMenuItemTextColor() + { + App.WaitForElement("TestLabel"); + App.Tap("More"); + VerifyScreenshot(); + } + } +} \ No newline at end of file diff --git a/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/VerifyTabbedPageMenuItemTextColor.png b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/VerifyTabbedPageMenuItemTextColor.png new file mode 100644 index 000000000000..9454046076d7 Binary files /dev/null and b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/VerifyTabbedPageMenuItemTextColor.png differ diff --git a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyTabbedPageMenuItemTextColor.png b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyTabbedPageMenuItemTextColor.png new file mode 100644 index 000000000000..ed835184c524 Binary files /dev/null and b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyTabbedPageMenuItemTextColor.png differ