[iot][bluetooth]update the steps for bt 81/311781/1
authorchen <chen89.chen@samsung.com>
Tue, 28 May 2024 04:04:16 +0000 (12:04 +0800)
committerchen <chen89.chen@samsung.com>
Tue, 28 May 2024 04:04:50 +0000 (12:04 +0800)
Change-Id: I119386de173b6a523941bf0e4fbbb8b3560a7557
Signed-off-by: chen <chen89.chen@samsung.com>
common/tct-bluetooth-tizen-tests/tests.full.xml
common/tct-bluetooth-tizen-tests/tests.xml
iot/tct-deprecatedapi-tizen-tests/resources/testharness.js

index f99e5b39b0312318706ba85a2d61947bb89a41a1..e56b32ab2b9d604f7cb64238c51da1f85738b3a7 100755 (executable)
@@ -55,8 +55,8 @@
           <pre_condition>The bluetooth/visible of the test device MUST be turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Change bluetooth visible to "Off".</step_desc>
-              <expected>all subtests should be successful</expected>
+              <step_desc>Change bluetooth visible to "Off" by command "sdb root on" and "sdb shell hciconfig hci0 noscan".</step_desc>
+              <expected>all subtests should be successful, and then revert the visible mode by command "sdb shell hciconfig hci0 piscan".</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html</test_script_entry>
@@ -12249,8 +12249,8 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
           <pre_condition>The bluetooth/visible of the test device MUST be turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Change bluetooth visible to "Off".</step_desc>
-              <expected>all subtests should be successful</expected>
+              <step_desc>Change bluetooth visible to "Off" by command "sdb root on" and "sdb shell hciconfig hci0 noscan"</step_desc>
+              <expected>all subtests should be successful, and then revert the visible mode by command "sdb shell hciconfig hci0 piscan"</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html</test_script_entry>
@@ -15670,7 +15670,7 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
       </capabilities>
       <testcase purpose="Check if BluetoothLEDevice/Manufacturer/ServiceData attribues exist and have proper traits" type="compliance" status="approved" onload_delay="180" priority = "P3" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEAttributes">
         <description>
-          <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices, run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse".</pre_condition>
           <steps>
             <step order="1">
               <step_desc>several tests executed from base test</step_desc>
@@ -16253,7 +16253,7 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
       </capabilities> -->
       <testcase purpose="Check uuid attribute in BluetoothGATTService is readonly" onload_delay="180" type="compliance" status="approved" priority = "P1" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothGATTService_serviceUuid_attribute">
         <description>
-          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices. (iot could run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse").</pre_condition>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTService_serviceUuid_attribute.html</test_script_entry>
         </description>
         <specs>
@@ -16266,7 +16266,7 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
       </testcase>
       <testcase purpose="Check if BluetoothGATTCharacteristic::uuid attribute exists, has type string and is readonly" type="compliance" status="approved" onload_delay="180" priority = "P1" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothGATTCharacteristic_uuid_attribute">
         <description>
-          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices. (iot could run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse").</pre_condition>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTCharacteristic_uuid_attribute.html</test_script_entry>
         </description>
         <specs>
@@ -16279,7 +16279,7 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
       </testcase>
       <testcase purpose="Check if BluetoothGATTDescriptor uuid_attribute method if the value cannot be retrieved" type="compliance" status="approved" onload_delay="180" priority = "P1" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothGATTDescriptor_uuid_attribute">
         <description>
-          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices. (iot could run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse").</pre_condition>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTDescriptor_uuid_attribute.html</test_script_entry>
         </description>
         <specs>
index 6175c0d4f1bdb189fa6a0af9c0594045f21fbb7d..6c433d2fe37b6519138b6bc127e355460f138923 100755 (executable)
@@ -34,8 +34,8 @@
           <pre_condition>The bluetooth/visible of the test device MUST be turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Change bluetooth visible to "Off".</step_desc>
-              <expected>all subtests should be successful</expected>
+              <step_desc>Change bluetooth visible to "Off" by command "sdb root on" and "sdb shell hciconfig hci0 noscan".</step_desc>
+              <expected>all subtests should be successful, and then revert the visible mode by command "sdb shell hciconfig hci0 piscan"</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html</test_script_entry>
@@ -3797,7 +3797,7 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
           <steps>
             <step order="1">
               <step_desc>Change bluetooth visible to "Off".</step_desc>
-              <expected>all subtests should be successful</expected>
+              <expected>all subtests should be successful.</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html</test_script_entry>
@@ -5532,8 +5532,8 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
           <pre_condition>The bluetooth/visible of the test device MUST be turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Change bluetooth visible to "Off".</step_desc>
-              <expected>all subtests should be successful</expected>
+              <step_desc>Change bluetooth visible to "Off" by command "sdb root on" and "sdb shell hciconfig hci0 noscan"</step_desc>
+              <expected>all subtests should be successful, and then revert the visible mode by command "sdb shell hciconfig hci0 piscan"</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html</test_script_entry>
@@ -6991,7 +6991,7 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
       </capabilities>
       <testcase purpose="Check if BluetoothLEDevice/Manufacturer/ServiceData attribues exist and have proper traits" onload_delay="180" priority="P3" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEAttributes">
         <description>
-          <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other device, run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse".</pre_condition>
           <steps>
             <step order="1">
               <step_desc>several tests executed from base test</step_desc>
@@ -7239,19 +7239,19 @@ The bluetooth of the remote/test device MUST be turned on and discoverable from
       </capabilities> -->
       <testcase purpose="Check uuid attribute in BluetoothGATTService is readonly" onload_delay="180" priority="P1" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothGATTService_serviceUuid_attribute">
         <description>
-          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.(iot could run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse").</pre_condition>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTService_serviceUuid_attribute.html</test_script_entry>
         </description>
       </testcase>
       <testcase purpose="Check if BluetoothGATTCharacteristic::uuid attribute exists, has type string and is readonly" onload_delay="180" priority = "P1" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothGATTCharacteristic_uuid_attribute">
         <description>
-          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.(iot could run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse").</pre_condition>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTCharacteristic_uuid_attribute.html</test_script_entry>
         </description>
       </testcase>
       <testcase purpose="Check if BluetoothGATTDescriptor uuid_attribute method if the value cannot be retrieved" onload_delay="180" priority = "P1" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothGATTDescriptor_uuid_attribute">
         <description>
-          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+          <pre_condition>The bluetooth of the BLE remote/test device MUST support BLE and be turned on and discoverable from other devices.(iot could run ble_mouse application by command "sdb root on" and "sdb shell ble_mouse").</pre_condition>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTDescriptor_uuid_attribute.html</test_script_entry>
         </description>
       </testcase>
index ecc050c28ed7c5b7275c511d0a1a0c5979d9540d..9a6a779314e0be21e1f2560a199923b207ae47d9 100755 (executable)
@@ -19,8 +19,8 @@ policies and contribution forms [3].
     var settings = {
         output:true,
         harness_timeout:{
-            "normal":10000,
-            "long":60000
+            "normal":90000,
+            "long":90000
         },
         test_timeout:null
     };