[Multimedia.Manual][Non-ACR][Fix bug - button is disabled after clicking Run button] 32/180032/2
authorHaesu Gwon <haesu.gwon@samsung.com>
Thu, 24 May 2018 09:14:11 +0000 (18:14 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Thu, 31 May 2018 06:27:14 +0000 (06:27 +0000)
Change-Id: Ifc4da104d5102c415f016da995376e7ccf5bcb40
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDevice.cs [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 039c571..5f158a4
@@ -10,8 +10,6 @@ namespace Tizen.Multimedia.Tests
     public class AudioDeviceTests : AudioManagerTestBase
     {
         public const string LogTag = "TizenTest.Multimedia.AudioDevice";
-        private static TestPage _testPage = TestPage.GetInstance();
-
         private static bool _isBluetoothAvailable = true;
 
         [OneTimeSetUp]
@@ -26,18 +24,17 @@ namespace Tizen.Multimedia.Tests
 
         private static void AssertDevice(Func<AudioDevice, bool> deviceCheckFunc)
         {
+            TestPage.GetInstance().UnlockUIButton();
+
             foreach (var device in AudioManager.GetConnectedDevices())
             {
                 if (deviceCheckFunc(device))
                 {
-                    ManualTest.Confirm();
                     return;
                 }
             }
 
             Assert.Fail($"The target audio device is not connected");
-
-            ManualTest.Confirm();
         }
 
         [Test]
@@ -47,10 +44,10 @@ namespace Tizen.Multimedia.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRE")]
         [Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
-        [Precondition(1, " 4-Wire Ear Jack is connected")]
+        [Precondition(1, "4-Wire Ear Jack is connected")]
         [Step(1, "Click run TC")]
         [Step(2, "Check the result on display.")]
-        [Postcondition(1, " 4-Wire Ear Jack is disconnected from the device")]
+        [Postcondition(1, "4-Wire Ear Jack is disconnected from the device")]
         public async Task Type_GET_ENUM_AUDIOJACK()
         {
             if (IsAudioJackAvailable == false)
@@ -149,10 +146,10 @@ namespace Tizen.Multimedia.Tests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRE")]
         [Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
-        [Precondition(1, " 4-Wire Ear Jack is connected")]
+        [Precondition(1, "4-Wire Ear Jack is connected")]
         [Step(1, "Click run TC")]
         [Step(2, "Check the result on display.")]
-        [Postcondition(1, " 4-Wire Ear Jack is disconnected from the device")]
+        [Postcondition(1, "4-Wire Ear Jack is disconnected from the device")]
 
         public async Task IoDirection_GET_ENUM_INPUT_OUTPUT()
         {