[common][ham][TFDF-6776, extend 2 tcs timeout] 71/219271/1
authorzhongyuan <zy123.yuan@samsung.com>
Wed, 4 Dec 2019 02:48:19 +0000 (10:48 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Wed, 4 Dec 2019 02:48:19 +0000 (10:48 +0800)
Change-Id: I00b991121690f1312e9def9a084c5fd893d67bb4

common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html
common/tct-humanactivitymonitor-tizen-tests/tests.xml

index 8cede74f98a5ca4826bf90929d295cca1c2200ba..c67f4dff97ab9e2521723baa0b7c58353234b87d 100755 (executable)
@@ -34,14 +34,14 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== STEP Press run button. Pretend walking with the device.
+//==== STEP Press run button. Pretend walking with the device more than 3 minutes.
 //==== EXPECT Pass
 //==== TEST_CRITERIA MR MMINA CBT
-//==== ONLOAD_DELAY 60
+//==== ONLOAD_DELAY 300
 
-setup({"timeout": 60000});
+setup({"timeout": 300000});
 
-var t = async_test(document.title, {"timeout": 60000}), returnedValue = null, humanActivityType = "WALKING", listener;
+var t = async_test(document.title, {"timeout": 300000}), returnedValue = null, humanActivityType = "WALKING", listener;
 
 t.step(function () {
     add_result_callback(function () {
@@ -61,7 +61,7 @@ t.step(function () {
 
     returnedValue = tizen.humanactivitymonitor.addActivityRecognitionListener(humanActivityType, listener);
     assert_type(returnedValue, "long", "Incorrect type returned from addActivityRecognitionListener");
-    alert("Grab the device, and pretend walking after pressing OK.");
+    alert("Grab the device, and pretend walking more than 3 minutes after pressing OK.");
 });
 </script>
 </body>
index 4eaafcb706fc4862906dccf3a04f90aae4bec21d..088348e3cf6bb6df7774fb95e591f6883562969c 100755 (executable)
@@ -36,12 +36,12 @@ Authors:
 //==== EXECUTION_TYPE manual
 //==== STEP Press run button. Pretend running with the device.
 //==== EXPECT Pass
-//==== ONLOAD_DELAY 30
+//==== ONLOAD_DELAY 300
 //==== TEST_CRITERIA MR MMINA
 
-setup({timeout: 30000});
+setup({timeout: 300000});
 
-var t = async_test(document.title, {timeout: 30000}), successCallback, returnedValue = null, humanActivityType;
+var t = async_test(document.title, {timeout: 300000}), successCallback, returnedValue = null, humanActivityType;
 
 t.step(function () {
     add_result_callback(function () {
@@ -62,4 +62,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 91fc0726c7daa2ad90c917a4ce8a3b51e3c78980..992dd4fd5b3c4856f02ca2522e4db3081d3ec918 100755 (executable)
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
+      <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="300" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
         <description>
           <steps>
             <step order="1">
-              <step_desc>Press run button. Pretend walking with the device.</step_desc>
+              <step_desc>Press run button. Pretend walking with the device more than 3 minutes.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_WALKING.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if the specifies the pedometer user's current movement type is RUNNING" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING">
+      <testcase purpose="Check if the specifies the pedometer user's current movement type is RUNNING" onload_delay="300" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING">
         <description>
           <steps>
             <step order="1">
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
+      <testcase purpose="Check if the method addActivityRecognitionListener of HumanActivityMonitorManager returns proper value" onload_delay="300" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_addActivityRecognitionListener_WALKING">
         <description>
           <steps>
             <step order="1">
-              <step_desc>Press run button. Pretend walking with the device.</step_desc>
+              <step_desc>Press run button. Pretend walking with the device more than 3 minutes.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_WALKING.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if the specifies the pedometer user's current movement type is RUNNING" onload_delay="60" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING">
+      <testcase purpose="Check if the specifies the pedometer user's current movement type is RUNNING" onload_delay="300" component="Tizen Device APIs/HumanActivityMonitor/HumanActivityMonitorManager" execution_type="manual" priority="P1" id="HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING">
         <description>
           <steps>
             <step order="1">