[common][systeminfo][fix fail tcs of SystemInfoVideoSourceInfo] 90/273690/1
authortangkaiyuan <kaiyuan.tang@samsung.com>
Tue, 12 Apr 2022 09:05:16 +0000 (17:05 +0800)
committertangkaiyuan <kaiyuan.tang@samsung.com>
Tue, 12 Apr 2022 09:05:24 +0000 (17:05 +0800)
Change-Id: I10208cf7c732a6bc5123ea70362e95552880fe4d
Signed-off-by: tangkaiyuan <kaiyuan.tang@samsung.com>
common/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_extend.html
common/tct-systeminfo-tizen-tests/systeminfo/SystemInfoVideoSourceInfo_type_attribute.html

index 20399aa2b75643d1b79990cdb10415d1a7471f6a..5ab3740bb1e78826cc330c1347a10afd39dc82ad 100755 (executable)
@@ -44,7 +44,7 @@ t.step(function () {
         if(source.connected.length != 0){
             check_extensibility(source.connected[0]);
         }else if(source.disconnected.length != 0){
-            check_extensibility(source.connected[0]);
+            check_extensibility(source.disconnected[0]);
         }
         t.done();
     });
index ca6a5f886480bd1d12f2d563bff733a61d06552c..b3b1f68c9232e0b44343062bf8cda1fd14d43f1b 100755 (executable)
@@ -47,7 +47,7 @@ t.step(function () {
             check_readonly(source.connected[0], "type", source.connected[0].type, "string", null);
         }else if(source.disconnected.length != 0){
             assert_own_property(source.disconnected[0], "type", "SystemInfoVideoSourceInfo doesn't own type property.");
-            check_readonly(source.disconnected[0], "type", source.connected[0].type, "string", null);
+            check_readonly(source.disconnected[0], "type", source.disconnected[0].type, "string", null);
         }
         t.done();
     });