You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Testing] Enabling ported UITests from Xamarin.UITests to Appium - 49 (#26609)
* Enabled 49th set of UITests migrated from XamarinUITest into Appium (#48)
* Migrated Issues from XamarinUIest into Appium
* Updated ShellInsets tests
* Modified the enabled tests
* Updated comments
* Changed Test cases order
* Modified Issue ShellInsets
* Revert the changes
---------
Co-authored-by: NafeelaNazhir <nafeela.nazhirhussain@syncfusion.com>
* Updated the comments
* Enabled 49th set of UITests migrated from XamarinUITest into Appium (#48)
* Migrated Issues from XamarinUIest into Appium
* Updated ShellInsets tests
* Modified the enabled tests
* Updated comments
* Changed Test cases order
* Modified Issue ShellInsets
* Revert the changes
---------
Co-authored-by: NafeelaNazhir <nafeela.nazhirhussain@syncfusion.com>
* Updated the comments
* Ignore CI fails test for catalyst
---------
Co-authored-by: NafeelaNazhir <nafeela.nazhirhussain@syncfusion.com>
#if !WINDOWS||MACCATALYST// Setting orientation is not supported on Windows and Mac
1
+
#if TEST_FAILS_ON_WINDOWS&&TEST_FAILS_ON_CATALYST// Setting orientation is not supported on Windows and Mac
2
2
usingNUnit.Framework;
3
3
usingUITest.Appium;
4
4
usingUITest.Core;
@@ -13,28 +13,35 @@ public Bugzilla31602(TestDevice testDevice) : base(testDevice)
13
13
14
14
publicoverridestringIssue=>"not possible to programmatically open master page after iPad landscape -> portrait rotation, also tests 31664";
15
15
16
-
// [Test]
17
-
// [FailsOnIOSWhenRunningOnXamarinUITest]
18
-
// [Category(UITestCategories.FlyoutPage)]
19
-
// public void Bugzilla31602Test()
20
-
// {
21
-
// if (Devices.DeviceInfo.Idiom == Devices.DeviceIdiom.Tablet)
22
-
// {
23
-
// App.Tap("Sidemenu Opener");
24
-
// App.WaitForElement("SideMenu");
25
-
// App.SetOrientationLandscape();
26
-
// App.WaitForElement("SideMenu");
27
-
// App.SetOrientationPortrait();
28
-
// App.WaitForNoElement("SideMenu");
29
-
// App.Tap("Sidemenu Opener");
30
-
// App.WaitForElement("SideMenu");
31
-
// }
32
-
// }
33
-
34
-
// [TearDown]
35
-
// public void TearDown()
36
-
// {
37
-
// App.SetOrientationPortrait();
38
-
// }
16
+
[Test]
17
+
18
+
[Category(UITestCategories.FlyoutPage)]
19
+
publicvoidBugzilla31602Test()
20
+
{
21
+
App.WaitForElement("Sidemenu Opener");
22
+
App.Tap("Sidemenu Opener");
23
+
App.WaitForElement("SideMenu");
24
+
App.SetOrientationLandscape();
25
+
OpenFlyout();
26
+
App.SetOrientationPortrait();
27
+
OpenFlyout();
28
+
29
+
}
30
+
31
+
voidOpenFlyout()
32
+
{
33
+
// Condition to ensure consistent behavior across platforms, for the flyout remains open on Android but closes on iOS during device orientation changes.
0 commit comments