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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Controls/tests/TestCases.HostApp/Issues/Issue16386.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Maui.Controls.Sample.Issues
{
[Issue(IssueTracker.Github, 16386, "Process the hardware enter key as \"Done\"", PlatformAffected.Android)]
[Issue(IssueTracker.Github, 16386, "Process the hardware enter key as Done", PlatformAffected.Android)]
public class Issue16386 : TestContentPage
{
protected override void Init()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if ANDROID
#if TEST_FAILS_ON_WINDOWS // For more information, see : https://github.com/dotnet/maui/issues/27638
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if ANDROID || IOS
#if ANDROID || IOS//The test fails on Windows and MacCatalyst because the BackgroundApp and ForegroundApp method, which is only supported on mobile platforms iOS and Android.
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if WINDOWS
#if TEST_FAILS_ON_WINDOWS // For more information, see : https://github.com/dotnet/maui/issues/27638
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand All @@ -16,16 +16,14 @@ public Issue12079(TestDevice testDevice) : base(testDevice)
public override string Issue => "SwipeView crash if Text not is set on SwipeItem";

[Test]
[Ignore("Appium cannot find the SwipeControl, we have to review the reason.")]
[Category(UITestCategories.SwipeView)]
[Category(UITestCategories.Compatibility)]
public void SwipeItemNoTextWindows()
{
App.WaitForElement(SwipeViewId);
App.SwipeLeftToRight(SwipeViewId);
App.Tap(SwipeViewId);
App.WaitForNoElement("Success");
App.Screenshot("The test has passed");
App.WaitForElement("Success");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#if ANDROID
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand All @@ -11,7 +10,7 @@ public Issue16386(TestDevice device)
: base(device)
{ }

public override string Issue => "Process the hardware enter key as \"Done\"";
public override string Issue => "Process the hardware enter key as Done";

[Test]
[Category(UITestCategories.Entry)]
Expand All @@ -24,4 +23,3 @@ public void HittingEnterKeySendsDone()
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if ANDROID
using NUnit.Framework;
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
namespace Microsoft.Maui.TestCases.Tests.Issues
Expand All @@ -15,15 +14,13 @@ public Issue18443(TestDevice device) : base(device) { }
public void EntrySelectionLengthRuntimeUpdate()
{
App.WaitForElement("entry");

Thread.Sleep(1000); // Wait some time for the keyboard to appear

Thread.Sleep(1000);
#if ANDROID
if (App.IsKeyboardShown())
App.DismissKeyboard();

#endif
VerifyScreenshot();
}

}
}
#endif
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if ANDROID
#if ANDROID || IOS //This test case verifies "IsKeyboardShown method" exclusively on the Android and IOS platforms
using NUnit.Framework;
using NUnit.Framework.Legacy;
using UITest.Appium;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if ANDROID
#if ANDROID //This test case verifies "that the KeyListener is being set to handle numeric keyboard" exclusively on Android platform
using NUnit.Framework;
using NUnit.Framework.Legacy;
using UITest.Appium;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if IOS
#if IOS //This test case verifies that the sample is working exclusively on IOS platforms "due to use of UIKit APIs".
using NUnit.Framework;
using NUnit.Framework.Legacy;
using UITest.Appium;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if ANDROID || IOS
#if ANDROID || IOS //This test case verifies "SetOrientationPotrait and Landscape works" exclusively on the Android and IOS platforms
using NUnit.Framework;
using NUnit.Framework.Legacy;
using UITest.Appium;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if IOS
#if IOS //This test case verifies that the sample is working exclusively on IOS platforms "due to use of UIKit APIs".
using System.Drawing;
using NUnit.Framework;
using NUnit.Framework.Legacy;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if ANDROID
#if ANDROID || IOS //The test fails on Windows and MacCatalyst because the BackgroundApp and ForegroundApp method, which is only supported on mobile platforms iOS and Android.
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if IOS
#if IOS //This sample is working in IOS platform only due to the use ofiOS-specific modal presentation style.
using NUnit.Framework.Legacy;
using NUnit.Framework;
using UITest.Appium;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if MACCATALYST || WINDOWS

#if MACCATALYST || WINDOWS // This test verifies that "the class defines a custom TitleBar for a ContentPage" that works on Desktop platforms only
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if MACCATALYST || WINDOWS
#if MACCATALYST || WINDOWS // This test verifies that "the class defines a custom TitleBar for a ContentPage" that works on Desktop platforms only.

using NUnit.Framework;
using UITest.Appium;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if MACCATALYST || WINDOWS
#if MACCATALYST || WINDOWS // This test verifies that "the class defines a custom TitleBar for a ContentPage" that works on Desktop platforms only.

using NUnit.Framework;
using UITest.Appium;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if IOS
#if IOS //This test case verifies that the sample is working exclusively on IOS platforms "due to use of UIKit APIs".
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if IOS
#if IOS //This test case verifies "UIButton CurrentImage can be set without crashing" in iOS platform only.
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if ANDROID || IOS
#if ANDROID || IOS //This test case verifies "SetOrientationPotrait and Landscape works" exclusively on the Android and IOS platforms
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading