//==== SPEC_URL TBD
//==== PRIORITY P1
//==== EXECUTION_TYPE manual
-//==== PRE Device should be set to sound mode in settings.
-//==== STEP Check if the device reacts as sound after press [Run] button in the test case.
-//==== EXPECT There is sound from the device.
+//==== STEP Check if the device reacts as vibration after press [Run] button in the test case.
+//==== EXPECT The device should be vibrated.
//==== TEST_CRITERIA MOA MR
test(function () {
"EMAIL", "WAKEUP", "SCHEDULE", "TIMER", "GENERAL", "POWERON", "POWEROFF", "CHARGERCONN",
"CHARGING_ERROR", "FULLCHARGED", "LOWBATT", "LOCK", "UNLOCK", "VIBRATION_ON", "SILENT_OFF",
"BT_CONNECTED", "BT_DISCONNECTED", "LIST_REORDER", "LIST_SLIDER", "VOLUME_KEY");
- type = "TYPE_SOUND";
+ type = "TYPE_VIBRATION";
retval = false;
for (i = 0; i < pattern.length; i++) {
</capabilities>
<testcase purpose="Check if play() method plays type of reaction that is defined." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
<description>
- <pre_condition>Device should be set to sound mode in settings.</pre_condition>
<steps>
<step order="1">
<step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
</specs>
</testcase>
</set>
- <set name="Feedback_wearable" type="js">
+ <set name="Feedback_wearable" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
</capabilities>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if play() method plays type of reaction that is defined." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
+ <testcase purpose="Check if method stop exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
<description>
- <pre_condition>Device should be set to sound mode in settings.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Check if the device reacts as sound after press [Run] button in the test case.</step_desc>
- <expected>There is sound from the device.</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_with_type.html</test_script_entry>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if stop() method stops type of reaction." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_stop">
+ <testcase purpose="Check using stop() method with extra argument." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
<description>
- <steps>
- <step order="1">
- <step_desc>Check if the device reacts as sound after press [Run] button in the test case.</step_desc>
- <expected>No sound is from the device.</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop.html</test_script_entry>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method stop exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
+ </set>
+ <set name="Feedback_wearable_vibrate" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/feedback.vibration"/>
+ </capabilities>
+ <testcase purpose="Check if play() method plays type of reaction that is defined." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
<description>
- <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>The device should be vibrated.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_with_type.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check using stop() method with extra argument." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
+ <testcase purpose="Check if stop() method stops type of reaction." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_stop">
<description>
- <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>No vibration is from the device.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop.html</test_script_entry>
</description>
<specs>
<spec>
</specs>
</testcase>
</set>
- <set name="Feedback_iot" type="js">
+ <set name="Feedback_iot" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile">
<value>COMMON</value>
</capabilities>
<testcase purpose="Check if play() method plays type of reaction that is defined." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
<description>
- <pre_condition>Device should be set to sound mode in settings.</pre_condition>
<steps>
<step order="1">
<step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
</capabilities>
<testcase purpose="Check if play() method plays type of reaction that is defined." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
<description>
- <pre_condition>Device should be set to sound mode in settings.</pre_condition>
<steps>
<step order="1">
<step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
</testcase>
</set>
<set name="Feedback_wearable" type="js">
- <capabilities>
+ <capabilities>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
</capabilities>
<testcase purpose="Check if interface FeedbackManagerObject exists, it should not exists." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManagerObject_notexist">
<test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_type_TypeMismatch.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check if method stop exists." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check using stop() method with extra argument." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
+ <set name="Feedback_wearable_vibrate" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/feedback.vibration"/>
+ </capabilities>
<testcase purpose="Check if play() method plays type of reaction that is defined." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
<description>
- <pre_condition>Device should be set to sound mode in settings.</pre_condition>
<steps>
<step order="1">
- <step_desc>Check if the device reacts as sound after press [Run] button in the test case.</step_desc>
- <expected>There is sound from the device.</expected>
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>The device should be vibrated.</expected>
</step>
</steps>
<test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_with_type.html</test_script_entry>
<description>
<steps>
<step order="1">
- <step_desc>Check if the device reacts as sound after press [Run] button in the test case.</step_desc>
- <expected>No sound is from the device.</expected>
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>No vibration is from the device.</expected>
</step>
</steps>
<test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method stop exists." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
- <description>
- <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check using stop() method with extra argument." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
- <description>
- <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
- </description>
- </testcase>
</set>
<set name="Feedback_iot" type="js">
<capabilities>
</capabilities>
<testcase purpose="Check if play() method plays type of reaction that is defined." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
<description>
- <pre_condition>Device should be set to sound mode in settings.</pre_condition>
<steps>
<step order="1">
<step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>