-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathIssue11969.cs
37 lines (32 loc) · 941 Bytes
/
Issue11969.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#if IOS
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
namespace Microsoft.Maui.TestCases.Tests.Issues
{
public class Issue11969 : _IssuesUITest
{
const string SwipeViewId = "SwipeViewId";
const string SwipeButtonId = "SwipeButtonId";
const string Failed = "SwipeView Button not tapped";
const string Success = "SUCCESS";
public Issue11969(TestDevice testDevice) : base(testDevice)
{
}
public override string Issue => "[Bug] Disabling Swipe view not handling tap gesture events on the content in iOS of Xamarin Forms";
[Test]
[Category(UITestCategories.SwipeView)]
[Category(UITestCategories.Compatibility)]
[FailsOnIOS]
public void SwipeDisableChildButtonTest()
{
App.WaitForNoElement(Failed);
App.WaitForElement(SwipeViewId);
App.Tap("SwipeViewCheckBoxId");
App.Tap("SwipeViewContentCheckBoxId");
App.Tap(SwipeButtonId);
App.WaitForNoElement(Success);
}
}
}
#endif