From: zhongyuan Date: Wed, 4 Dec 2019 02:48:19 +0000 (+0800) Subject: [common][ham][TFDF-6776, extend 2 tcs timeout] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcbd62488e607728d97221c65f8d71c48040edf8;p=test%2Ftct%2Fweb%2Fapi.git [common][ham][TFDF-6776, extend 2 tcs timeout] Change-Id: I00b991121690f1312e9def9a084c5fd893d67bb4 --- diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html index 8cede74f9..c67f4dff9 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_WALKING.html @@ -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."); }); diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html index 4eaafcb70..088348e3c 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html +++ b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html @@ -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 () { - \ No newline at end of file + diff --git a/common/tct-humanactivitymonitor-tizen-tests/tests.xml b/common/tct-humanactivitymonitor-tizen-tests/tests.xml index 91fc0726c..992dd4fd5 100755 --- a/common/tct-humanactivitymonitor-tizen-tests/tests.xml +++ b/common/tct-humanactivitymonitor-tizen-tests/tests.xml @@ -277,11 +277,11 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html - + - Press run button. Pretend walking with the device. + Press run button. Pretend walking with the device more than 3 minutes. Pass @@ -633,7 +633,7 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_WALKING.html - + @@ -1435,11 +1435,11 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html - + - Press run button. Pretend walking with the device. + Press run button. Pretend walking with the device more than 3 minutes. Pass @@ -1791,7 +1791,7 @@ /opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_WALKING.html - +