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.
5 changes: 4 additions & 1 deletion src/Controls/tests/TestCases.HostApp/Issues/Issue1975.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ ContentPage CreateRootPage()
lv.SetBinding(ListView.ItemsSourceProperty, new Binding("Items"));
lv.IsGroupingEnabled = true;
lv.GroupDisplayBinding = new Binding("Description");
#if !WINDOWS
//It appears that the ListView is not detectable in the CI environment
//For more information : https://github.com/dotnet/maui/issues/27336
lv.GroupShortNameBinding = new Binding("ShortName");

#endif
lv.ItemTemplate = new DataTemplate(() =>
{
var textCell = new TextCell();
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
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,7 +15,6 @@ public Issue18111(TestDevice device) : base(device)
[Test]
[Category(UITestCategories.Slider)]
[FailsOnAndroidWhenRunningOnXamarinUITest("Regression test validating the design differences between iOS and Mac specifically")]
[FailsOnMacWhenRunningOnXamarinUITest("VerifyScreenshot method not implemented on macOS")]
[FailsOnWindowsWhenRunningOnXamarinUITest("Regression test validating the design differences between iOS and Mac specifically")]
public void SettingMaximumTrackColorOnSliderWorks()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ public Issue18675(TestDevice device) : base(device)
public override string Issue => "Editor IsReadOnly property prevent from modifying the text";

[Test]
[Category(UITestCategories.Editor)]
[FailsOnMacWhenRunningOnXamarinUITest("VerifyScreenshot method not implemented on macOS")]
public async Task EditorIsReadOnlyPreventModify()
[Category(UITestCategories.Editor)]
public void EditorIsReadOnlyPreventModify()
{
App.WaitForElement("WaitForStubControl");

Expand All @@ -24,7 +23,7 @@ public async Task EditorIsReadOnlyPreventModify()

// Delay for the Editor underline on Android to return from
// the selected state to normal state.
await Task.Delay(500);


// 2. The test fails if the placeholder text in the editor below is not blue.
VerifyScreenshot();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ public class Issue18706 : _IssuesUITest
public Issue18706(TestDevice device) : base(device) { }

public override string Issue => "Editor Background works";

[Test]
[Category(UITestCategories.Editor)]
[FailsOnMacWhenRunningOnXamarinUITest("VerifyScreenshot method not implemented on macOS")]
public void EditorBackgroundWorks()
{
App.WaitForElement("WaitForStubControl");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public Issue1900(TestDevice testDevice) : base(testDevice)
[Test]
[Category(UITestCategories.ListView)]
[Category(UITestCategories.Compatibility)]
[FailsOnIOSWhenRunningOnXamarinUITest]
public void Issue1900Test()
{
App.WaitForElement("ListView");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public Issue1975(TestDevice testDevice) : base(testDevice)
[Test]
[Category(UITestCategories.ListView)]
[Category(UITestCategories.Compatibility)]
[FailsOnAllPlatformsWhenRunningOnXamarinUITest]
public void ClickPropagatesToOnTouchListener()
{
App.WaitForElement(Go);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,23 @@ public Issue19786(TestDevice device) : base(device)

[Test]
[Category(UITestCategories.CarouselView)]
[FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")]
public void RemovingItemsShouldNotCauseCrash()
{
_ = App.WaitForElement("addItemButton");
App.Tap("addItemButton");
App.WaitForElement("addItemButton");
App.Tap("addItemButton");
App.WaitForElement("addItemButton");
App.Tap("addItemButton");
App.WaitForElement("goToNextItemButton");
App.Tap("goToNextItemButton");
App.WaitForElement("goToNextItemButton");
App.Tap("goToNextItemButton");
App.WaitForElement("removeLastItemButton");
App.Tap("removeLastItemButton");
App.WaitForElement("removeLastItemButton");
App.Tap("removeLastItemButton");
App.WaitForElement("removeLastItemButton");
App.Tap("removeLastItemButton");
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if IOS
using NUnit.Framework;
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;

Expand All @@ -12,18 +11,14 @@ public class Issue20199 : _IssuesUITest
public Issue20199(TestDevice device) : base(device)
{
}

[Test]
[Category(UITestCategories.Page)]
[FailsOnMacWhenRunningOnXamarinUITest("VerifyScreenshot method not implemented on macOS")]
[Category(UITestCategories.Page)]
public void TitleViewShouldBeVisible()
{
_ = App.WaitForElement("button");
App.Click("button");

App.Click("button");
// The test passes if the 'Home Page' title is visible
VerifyScreenshot();
}
}
}
#endif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading