Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testing] Enabling some UITests from Issues folder in Appium-4 #27067

Merged
merged 3 commits into from
Jan 14, 2025
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.
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
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
Expand Up @@ -15,12 +15,10 @@ public Issue1236(TestDevice testDevice) : base(testDevice)
[Test]
[Category(UITestCategories.Label)]
[Category(UITestCategories.Compatibility)]
[FailsOnIOSWhenRunningOnXamarinUITest]
[FailsOnMacWhenRunningOnXamarinUITest]
public void DelayedLabelBindingShowsUp()
{
Task.Delay(2000).Wait();
App.WaitForNoElement("Lorem Ipsum Dolor Sit Amet");
App.WaitForElement("Lorem Ipsum Dolor Sit Amet");
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if !MACCATALYST // VerifyScreenshot() is not supported on MacCatalyst
using NUnit.Framework;
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;

Expand All @@ -13,7 +12,6 @@ public Issue14471(TestDevice device) : base(device) { }

[Test]
[Category(UITestCategories.Image)]
[FailsOnAndroidWhenRunningOnXamarinUITest("Suddenly failing. https://github.com/dotnet/maui/issues/24243")]
public void ImageDoesntDisappearWhenNavigatingBack()
{
App.WaitForElement("image");
Expand All @@ -25,5 +23,4 @@ public void ImageDoesntDisappearWhenNavigatingBack()
// The test passes if image is loaded
VerifyScreenshot();
}
}
#endif
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public Issue17789(TestDevice device) : base(device)

[Test]
[Category(UITestCategories.Page)]
[FailsOnMacWhenRunningOnXamarinUITest("VerifyScreenshot method not implemented on macOS")]
public void ContentPageBackgroundImageSourceWorks()
{
App.WaitForElement("WaitForStubControl");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if MACCATALYST
using NUnit.Framework;
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;

Expand All @@ -18,12 +17,10 @@ public Issue2728(TestDevice testDevice) : base(testDevice)
[Test]
[Category(UITestCategories.Label)]
[Category(UITestCategories.Compatibility)]
[FailsOnMacWhenRunningOnXamarinUITest]
public void Issue2728TestsItalicLabel()
{
App.WaitForNoElement(LabelHome);
App.Screenshot("Label rendered with italic font");
App.WaitForElement(LabelHome);
VerifyScreenshot();
}
}
}
#endif
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ public Issue2983(TestDevice testDevice) : base(testDevice)
[Test]
[Category(UITestCategories.ListView)]
[Category(UITestCategories.Compatibility)]
[FailsOnIOSWhenRunningOnXamarinUITest]
[FailsOnMacWhenRunningOnXamarinUITest]
public void TestDoesNotCrash()
{
App.WaitForElement("footer");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public Issue3089(TestDevice testDevice) : base(testDevice)
[Test]
[Category(UITestCategories.ListView)]
[Category(UITestCategories.Compatibility)]
[FailsOnAllPlatformsWhenRunningOnXamarinUITest]
public void ResettingItemsOnRecycledListViewKeepsOldText()
{
App.WaitForElement(Reload);
App.Tap(Reload);
App.WaitForNoElement(Success);
App.WaitForElement(Success);
}
}
}
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