[Non-ACR][Inputmethod.Manual] Fix test step and precondition 83/274783/2
authorInHong Han <inhong1.han@samsung.com>
Mon, 9 May 2022 08:19:20 +0000 (17:19 +0900)
committerInHong Han <inhong1.han@samsung.com>
Mon, 9 May 2022 10:43:51 +0000 (19:43 +0900)
Change-Id: I82f2a77933406954277e5ab0949d45f6e5aa7148

tct-suite-vs/Tizen.Inputmethod.Manual.Tests/testcase/TSInputMethodEditor.cs

index c9b2b76..9b8a398 100644 (file)
@@ -435,7 +435,7 @@ namespace Tizen.Inputmethod.Manual.Tests
         [Step(5, "Open terminal & input command line sdb shell ")]
         [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
         [Step(7, "Open setting app")]
-        [Step(8, "Click Language and Input")]
+        [Step(8, "Click Language and Input. If the profile is Wearable, click Device.")]
         [Step(9, "Click Display language")]
         [Step(10, "Change display language")]
         [Step(11, "If log show 'InputMethodEditor_DisplayLanguageChanged callback' confirm Pass otherwise confirm False")]
@@ -455,7 +455,7 @@ namespace Tizen.Inputmethod.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
         [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
-        [Precondition(1, "It can not be tested on TV, wearable profile. If you will run this tc on tv, wearable profile, then this tc will get pass automatically.")]
+        [Precondition(1, "It can not be tested on TV, Wearable profile. If you will run this tc on TV, Wearable profile, then this tc will get pass automatically.")]
         [Step(1, "Click Run button")]
         [Step(2, "Open setting app")]
         [Step(3, "Click Language and Input")]
@@ -475,7 +475,7 @@ namespace Tizen.Inputmethod.Manual.Tests
             if (_isSupported && !_isWearable)
                 await ManualTest.WaitForConfirm();
             else
-                Assert.Pass("Can not test on TV, wearable profile");
+                Assert.Pass("Can not test on TV, Wearable profile");
         }
 
         [Test]
@@ -544,7 +544,7 @@ namespace Tizen.Inputmethod.Manual.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "MR")]
         [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
-        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Precondition(1, "It can not be tested on TV, Wearable profile. If you will run this tc on TV, Wearable profile, then this tc will get pass automatically.")]
         [Step(1, "Click Run button")]
         [Step(2, "Open setting app")]
         [Step(3, "Click Language and Input")]
@@ -559,10 +559,10 @@ namespace Tizen.Inputmethod.Manual.Tests
         [Postcondition(1, "NA")]
         public async Task SetSize_MANUAL_TEST()
         {
-            if (_isSupported)
+            if (_isSupported && !_isWearable)
                 await ManualTest.WaitForConfirm();
             else
-                Assert.Pass("Can not test on TV profile");
+                Assert.Pass("Can not test on TV, Wearable profile");
         }
 
         [Test]