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.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Maui.Controls.Sample.Issues;

[Issue(IssueTracker.Github, 29086, "SwipeView Closes when Content Changes even with SwipeBehaviorOnInvoked='RemainOpen'", PlatformAffected.iOS)]
[Issue(IssueTracker.Github, 29086, "SwipeView Closes when Content Changes even with SwipeBehaviorOnInvoked is set to RemainOpen", PlatformAffected.iOS)]
public partial class Issue29086 : ContentPage
{
public ObservableCollection<NumberItem> Numbers { get; set; }
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.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using NUnit.Framework;
#if TEST_FAILS_ON_WINDOWS //The AutomationId for SwipeView items does not function as expected on the Windows platform. Additionally, programmatic swiping is currently not working. For reference: https://github.com/dotnet/maui/issues/14777.
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;

Expand All @@ -11,16 +12,19 @@ public Issue29086(TestDevice testDevice) : base(testDevice)
{
}

public override string Issue => "SwipeView Closes when Content Changes even with SwipeBehaviorOnInvoked='RemainOpen'";
public override string Issue => "SwipeView Closes when Content Changes even with SwipeBehaviorOnInvoked is set to RemainOpen";

[Test]
[Category(UITestCategories.SwipeView)]
public void SwipeViewShouldNotClose()
{
App.WaitForElement("SwipeItem");
App.SwipeLeftToRight("SwipeItem");
App.WaitForElement("AddButton");
App.Click("AddButton");
App.WaitForElement("AddButton");
App.Click("AddButton");
VerifyScreenshot();
}
}
}
#endif
Loading