[WebView][Non-ACR] Context menu is not supported on wearable 28/213728/1
authoryh106.jung <yh106.jung@samsung.com>
Tue, 10 Sep 2019 22:56:57 +0000 (07:56 +0900)
committeryh106.jung <yh106.jung@samsung.com>
Tue, 10 Sep 2019 22:56:57 +0000 (07:56 +0900)
Context menu has not been supported on wearable profile.
But, initial implementation of TCT did not reflect it because the
behavior of Tizen 5.5 M1 was wrong.
This patch excludes context menu related TCs on wearable profile.

Change-Id: Ib994490f113beb7b4e8a47d512b8115345ac96b1
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenu.cs
tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItem.cs
tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItemEventArgs.cs
tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSWebView.cs

index 2be1d7d1056f7c72419e1f88d3fad47cf67aa6fb..9291c81d48bd058f03998cee2a4f47867bae59c9 100755 (executable)
@@ -33,7 +33,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "MAE")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "If there is no exception, test will be automatically passed.")]
@@ -41,9 +41,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task AppendItem_ENUM_ALL()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);
@@ -101,7 +101,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "MR")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "If there is no exception, test will be automatically passed.")]
@@ -109,9 +109,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task GetItemAtIndex_RETURN_VALUE()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);
@@ -158,7 +158,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "MCST")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "If there is no exception, test will be automatically passed.")]
@@ -166,9 +166,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task RemoveItem_CHANGE_STATUS()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);
@@ -216,7 +216,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "If there is no exception, test will be automatically passed.")]
@@ -224,9 +224,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task ItemCount_READ_ONLY()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);
index 146397087d02cc7a59ac466b023b7ba836c444b8..a62be69c3588cd0810e77dc9557e7f84888573f1 100755 (executable)
@@ -33,7 +33,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "If there is no exception, test will be automatically passed.")]
@@ -41,9 +41,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task ItemTag_READ_ONLY()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);
index db4e34d011617284ac22d5fc9e146ae6ec8d0ffa..313679f55ac90348cada459f96660d31464c0698 100755 (executable)
@@ -33,7 +33,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "Select item of the context menu.")]
@@ -42,9 +42,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task Item_READ_ONLY()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);
index dc07c46753017af1c3ea1b4fcccf24467ce94c73..5b9b95e850e3544d7b3b164a86e94c20d12d829d 100755 (executable)
@@ -33,7 +33,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "MCST")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "If there is no exception, test will be automatically passed.")]
@@ -41,9 +41,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task SetContextMenuCustomizeDelegate_CHANGE_STATUS()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);
@@ -81,7 +81,7 @@ namespace Tizen.WebView.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
         [Property("AUTHOR", "Youngha Jung, yh106.jung@samsung.com")]
-        [Precondition(1, "Context menu is not supported on TV profile. So the testcase will be passed automatically after run if the profile is TV.")]
+        [Precondition(1, "Context menu is not supported on both TV and Wearable profile. So the testcase will be passed automatically after run if the profile is TV or Wearable.")]
         [Step(1, "Click run TC.")]
         [Step(2, "Long press image of test page.")]
         [Step(3, "Select item of the context menu.")]
@@ -90,9 +90,9 @@ namespace Tizen.WebView.Manual.Tests
         public async Task ContextMenuItemSelected_CHECK_EVENT()
         {
             /* PRECONDITION */
-            if (WebViewCommon.IsTVProfile())
+            if (WebViewCommon.IsTVProfile() || WebViewCommon.IsWearableProfile())
             {
-                Assert.Pass("Context menu is not supported on TV profile");
+                Assert.Pass("Context menu is not supported on both TV and Wearable profile");
             }
 
             TaskCompletionSource<bool> tcs = new TaskCompletionSource<bool>(false);