[common][gumallow][extend timeout limit] 04/284904/1
authorchen <chen89.chen@samsung.com>
Wed, 30 Nov 2022 10:15:58 +0000 (18:15 +0800)
committerchen <chen89.chen@samsung.com>
Wed, 30 Nov 2022 10:16:03 +0000 (18:16 +0800)
Change-Id: I1978f9504976aab9fb19ece5d4773c2c570b7fb3
Signed-off-by: chen <chen89.chen@samsung.com>
common/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-video-optional-constraint.html
common/tct-gumallow-w3c-tests/tests.full.xml
common/tct-gumallow-w3c-tests/tests.xml

index cade37048ef321b82614720d299ee21588d1849d..5e47d4fee09119e033c84266941c01fb941df29d 100755 (executable)
@@ -1,6 +1,7 @@
 <!doctype html>
 <html>
 <head>
+<meta name="timeout" content="long"/>
 <title>Optional constraint recognized as optional in getUserMedia</title>
 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/>
 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#widl-NavigatorUserMedia-getUserMedia-void-MediaStreamConstraints-constraints-NavigatorUserMediaSuccessCallback-successCallback-NavigatorUserMediaErrorCallback-errorCallback">
@@ -17,7 +18,8 @@ getUserMedia is handled as optional</p>
 <script src=../../../../resources/testharnessreport.js></script>
 <script src="../../vendor-prefix.js" data-prefixed-objects='[{"ancestors":["navigator"], "name":"getUserMedia"}]'></script>
 <script>
-var t = async_test("Tests that setting an optional constraint in getUserMedia is handled as optional", {timeout:10000});
+setup({timeout: 90000});
+var t = async_test("Tests that setting an optional constraint in getUserMedia is handled as optional", {timeout:90000});
 t.step(function() {
   navigator.getUserMedia({video: {optional: [{width: {min:1024}}, {width: {max: 800}}]}},
       t.step_func(function (stream) {
@@ -25,6 +27,7 @@ t.step(function() {
         t.done();
       }),
       t.step_func(function(error) {
+        console.log("Error name: " + error.name + ", message: " + error.message);
         assert_unreached("an optional constraint can't stop us from obtaining a video stream");
       }));
 });
index 56f2f4c30f3086e205e1874866daea1ffe2dc723..d16f63e626fc9d2724262a26f0cec7c5187ee783 100755 (executable)
@@ -8,7 +8,7 @@
         <capability name="http://tizen.org/feature/camera"/>
         <capability name="http://tizen.org/feature/microphone"/>
       </capabilities>
-      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" priority="P2" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional" status="ready" type="compliance">
+      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" onload_delay="90" priority="P2" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional" status="ready" type="compliance">
         <description>
           <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-video-optional-constraint.html?usePrefixes=1</test_script_entry>
         </description>
@@ -27,7 +27,7 @@
         <capability name="http://tizen.org/feature/camera"/>
         <capability name="http://tizen.org/feature/microphone"/>
       </capabilities>
-      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" priority="P2" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional" status="ready" type="compliance">
+      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" onload_delay="90" priority="P2" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional" status="ready" type="compliance">
         <description>
           <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-video-optional-constraint.html?usePrefixes=1</test_script_entry>
         </description>
         <capability name="http://tizen.org/feature/camera"/>
         <capability name="http://tizen.org/feature/microphone"/>
       </capabilities>
-      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" priority="P2" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional" status="ready" type="compliance">
+      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" onload_delay="90" priority="P2" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional" status="ready" type="compliance">
         <description>
           <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-video-optional-constraint.html?usePrefixes=1</test_script_entry>
         </description>
index 8d3479f6abae1edb4cf6f9db7a677a3ae38327a4..dc3271b04103d506cbb637bc67bf829cef2fd2a7 100755 (executable)
@@ -8,7 +8,7 @@
         <capability name="http://tizen.org/feature/camera"/>
         <capability name="http://tizen.org/feature/microphone"/>
       </capabilities>
-      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional">
+      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" onload_delay="90" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional">
         <description>
           <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-video-optional-constraint.html?usePrefixes=1</test_script_entry>
         </description>
@@ -20,7 +20,7 @@
         <capability name="http://tizen.org/feature/camera"/>
         <capability name="http://tizen.org/feature/microphone"/>
       </capabilities>
-      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional">
+      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" onload_delay="90" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional">
         <description>
           <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-video-optional-constraint.html?usePrefixes=1</test_script_entry>
         </description>
         <capability name="http://tizen.org/feature/camera"/>
         <capability name="http://tizen.org/feature/microphone"/>
       </capabilities>
-      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional">
+      <testcase component="W3C_HTML5 APIs/Media/getUserMedia" execution_type="auto" id="getusermedia-video-optional-constraint" onload_delay="90" purpose="Test checks that setting an optional constraint in getUserMedia is handled as optional">
         <description>
           <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-video-optional-constraint.html?usePrefixes=1</test_script_entry>
         </description>