From: yh106.jung Date: Tue, 10 Sep 2019 22:56:57 +0000 (+0900) Subject: [WebView][Non-ACR] Context menu is not supported on wearable X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=567bc34b2a0bf7d5e1effa3a57f1300c0878afbb;p=test%2Ftct%2Fcsharp%2Fapi.git [WebView][Non-ACR] Context menu is not supported on wearable 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 --- diff --git a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenu.cs b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenu.cs index 2be1d7d10..9291c81d4 100755 --- a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenu.cs +++ b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenu.cs @@ -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 tcs = new TaskCompletionSource(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 tcs = new TaskCompletionSource(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 tcs = new TaskCompletionSource(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 tcs = new TaskCompletionSource(false); diff --git a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItem.cs b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItem.cs index 146397087..a62be69c3 100755 --- a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItem.cs +++ b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItem.cs @@ -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 tcs = new TaskCompletionSource(false); diff --git a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItemEventArgs.cs b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItemEventArgs.cs index db4e34d01..313679f55 100755 --- a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItemEventArgs.cs +++ b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSContextMenuItemEventArgs.cs @@ -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 tcs = new TaskCompletionSource(false); diff --git a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSWebView.cs b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSWebView.cs index dc07c4675..5b9b95e85 100755 --- a/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSWebView.cs +++ b/tct-suite-vs/Tizen.WebView.Manual.Tests/testcase/TSWebView.cs @@ -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 tcs = new TaskCompletionSource(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 tcs = new TaskCompletionSource(false);