[common][humanactivity][change 2 tcs to manual] 00/140000/1
authoryuanzhongyuan <zy123.yuan@samsung.com>
Fri, 21 Jul 2017 08:27:27 +0000 (16:27 +0800)
committeryuanzhongyuan <zy123.yuan@samsung.com>
Fri, 21 Jul 2017 08:27:27 +0000 (16:27 +0800)
Change-Id: I6f1e04f361a15ec72d083cc405fedaf2ec7b3731

common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html
common/tct-humanactivitymonitor-tizen-tests/tests.xml

index da4a850b44899fcfe27ad600a4944ef425df5411..c76c0021734070fc8705444043cf7d07a00cf86f 100755 (executable)
@@ -32,12 +32,12 @@ Authors:
 //==== SPEC Tizen Web API:Sensor:HumanActivityMonitor:HumanActivitySleepMonitorData:status A
 //==== SPEC_URL TBD
 //==== PRIORITY P1
-//==== ONLOAD_DELAY 9
+//==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA AE AT ARO
 
-setup({timeout: 9000});
+setup({timeout: 90000});
 
-var t = async_test(document.title, {timeout: 9000}), getHumanActivityDataSuccess, getHumanActivityDataError, humanActivityType = "SLEEP_MONITOR";
+var t = async_test(document.title, {timeout: 90000}), getHumanActivityDataSuccess, getHumanActivityDataError, humanActivityType = "SLEEP_MONITOR";
 
 t.step(function () {
     add_result_callback(function () {
@@ -55,7 +55,6 @@ t.step(function () {
 
     tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);
 });
-
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index b166849ad4d668fc48be5aeff7984be3ad3d89cc..6f3a7c8d127527e7cb63115acedb10d817924de2 100755 (executable)
@@ -32,11 +32,12 @@ Authors:
 //==== SPEC Tizen Web API:TBD:HumanActivityMonitor:HumanActivitySleepMonitorData:timestamp A
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== ONLOAD_DELAY 90
 //==== TEST_CRITERIA AE AT ARO
 
-setup({timeout: 9000});
+setup({timeout: 90000});
 
-var t = async_test(document.title, {timeout: 9000}), getHumanActivityDataSuccess, getHumanActivityDataError, humanActivityType = "SLEEP_MONITOR";
+var t = async_test(document.title, {timeout: 90000}), getHumanActivityDataSuccess, getHumanActivityDataError, humanActivityType = "SLEEP_MONITOR";
 
 t.step(function () {
     add_result_callback(function () {
@@ -54,8 +55,6 @@ t.step(function () {
 
     tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);
 });
-
-
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 80c1e1f6122630054222de542286c995293dda2a..bf55a303e1e50ae31dd98418eed7e720c8482b28 100755 (executable)
       </testcase>
       <testcase purpose="Check if HumanActivityMonitorManager::stop() method works properly for HumanActivity type SLEEP_MONITOR" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_stop_type_SLEEP_MONITOR">
         <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_type_HRM.html</test_script_entry>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_type_SLEEP_MONITOR.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivitySleepMonitorData_status_attribute" purpose="Check if HumanActivitySleepMonitorData::status exists and is readonly">
+      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivitySleepMonitorData_status_attribute" purpose="Check if HumanActivitySleepMonitorData::status exists and is readonly">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Click run</step_desc>
+              <expected>Pass should be shown in the page</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivitySleepMonitorData_timestamp_attribute" purpose="Check if HumanActivitySleepMonitorData::timestamp exists, has type long, and is readonly">
+      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivitySleepMonitorData_timestamp_attribute" purpose="Check if HumanActivitySleepMonitorData::timestamp exists, has type long, and is readonly">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Click run</step_desc>
+              <expected>Pass should be shown in the page</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html</test_script_entry>
         </description>
       </testcase>
       </testcase>
       <testcase purpose="Check if HumanActivityMonitorManager::stop() method works properly for HumanActivity type SLEEP_MONITOR" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_stop_type_SLEEP_MONITOR">
         <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_type_HRM.html</test_script_entry>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stop_type_SLEEP_MONITOR.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivitySleepMonitorData_status_attribute" purpose="Check if HumanActivitySleepMonitorData::status exists and is readonly">
+      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivitySleepMonitorData_status_attribute" purpose="Check if HumanActivitySleepMonitorData::status exists and is readonly">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Click run</step_desc>
+              <expected>Pass should be shown in the page</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData without optional arguments works properly for SLEEP_MONITOR HumanActivity type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR">
+      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivitySleepMonitorData_timestamp_attribute" purpose="Check if HumanActivitySleepMonitorData::timestamp exists, has type long, and is readonly">
         <description>
           <steps>
             <step order="1">
-              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
-              <expected>Pass should be shown in the page after 20 minutes.</expected>
+              <step_desc>Click run</step_desc>
+              <expected>Pass should be shown in the page</expected>
             </step>
           </steps>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html</test_script_entry>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData without optional arguments works properly for SLEEP_MONITOR HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR">
+      <testcase purpose="Check if readRecorderData without optional arguments works properly for SLEEP_MONITOR HumanActivity type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html</test_script_entry>
         </description>
       </testcase>