diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/alphabetIndexer.test.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/alphabetIndexer.test.ets index 896dea30e7d5b8c31af09e9bcdee8702748d5495..bffd448cdfcef4ccb67811152cea7e265005c839 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/alphabetIndexer.test.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/alphabetIndexer.test.ets @@ -92,7 +92,7 @@ export default function alphabetIndexerOnSelectJsunit() { console.info("[testalphabetIndexerColor0003] component fontSize strJson:" + strJson); let obj = JSON.parse(strJson); expect(obj.$type).assertEqual('AlphabetIndexer'); - expect(obj.$attrs.color).assertEqual(undefined); + expect(obj.$attrs.color).assertEqual('#FFFF0000'); console.info("[testalphabetIndexerColor0003] color value :" + obj.$attrs.color); done(); }); diff --git a/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets b/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets index 8fd4a9ce5d8ce9a8c6649fb2dd5df574c5d88d3d..3b298bc4f018bcd67e16a731a91193842a07fe55 100644 --- a/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets +++ b/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets @@ -66,12 +66,12 @@ export default function imageJsunit() { let obj = JSON.parse(strJson); console.info("imageTest_0200 obj.$attrs.src is: " + obj.$attrs.src); console.info("imageTest_0200 obj.obj.$type is: " + obj.$type); - var res = obj.$attrs.src.indexOf('rawfile/test.png'); + var res = obj.$attrs.src.indexOf('RAWFILE/test.png'); console.info("imageTest_0200 result is: " + res); var sres = obj.$attrs.src.slice(res, res + 16); console.info("imageTest_0200 slice result is: " + sres); expect(obj.$type).assertEqual('Image'); - expect(obj.$attrs.src.slice(res, res + 16)).assertEqual('rawfile/test.png'); + expect(obj.$attrs.src.slice(res, res + 16)).assertEqual('RAWFILE/test.png'); console.info('imageTest_0200 END'); done(); }); diff --git a/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/pages/button.ets b/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/pages/button.ets index 1c5ea715021392f0d40b675f9d90b0f5748a24fb..6fb068ebe68e6fd6892911dbae2b55eeef443b17 100644 --- a/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/pages/button.ets +++ b/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/pages/button.ets @@ -66,7 +66,7 @@ struct ButtonExample { Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start, justifyContent: FlexAlign.SpaceBetween }) { Button('Ok', { type: this.buttonTypeValue, stateEffect: true }) .borderRadius(8).backgroundColor(0x317aff).width(90).key('button') - Button('ok').type(`${this.buttonTypeValue}`).key('button1') + Button('ok').type(this.buttonTypeValue).key('button1') .backgroundColor(0x317aff).width(90) Button('ok') .type(this.buttonTypeValue) diff --git a/arkui/ace_ets_component_two/Test.json b/arkui/ace_ets_component_two/Test.json index 37bc0626fb2a97626e5579061152b9e44c111dbd..f4a4516e4b0d5ed74dceb515870a2b800746666f 100644 --- a/arkui/ace_ets_component_two/Test.json +++ b/arkui/ace_ets_component_two/Test.json @@ -5,7 +5,9 @@ "test-timeout": "700000", "bundle-name": "com.open.harmony.acetesttwo", "package-name": "com.open.harmony.acetesttwo", - "shell-timeout": "700000" + "shell-timeout": "700000", + "testcase-timeout":"10000" + }, "kits": [ { diff --git a/arkui/ace_js_attribute_api/Test.json b/arkui/ace_js_attribute_api/Test.json index 5346e8a8813d93ad20eff4e52ececcac801bf78b..98bb2d19f3c6c7ed8c64c83da6ce37c73afa2d3d 100644 --- a/arkui/ace_js_attribute_api/Test.json +++ b/arkui/ace_js_attribute_api/Test.json @@ -5,7 +5,8 @@ "test-timeout": "1000000", "shell-timeout": "1000000", "bundle-name": "com.example.acejsapi", - "package-name": "com.example.acejsapi" + "package-name": "com.example.acejsapi", + "testcase-timeout":"10000" }, "kits": [ { diff --git a/arkui/ace_standard_video/Test.json b/arkui/ace_standard_video/Test.json index 4a81904557a3a3b2acbdc4401ef223bf3c1f8638..b0709ae817a231d7c0b9d9e8fc3b5f377ee198ec 100644 --- a/arkui/ace_standard_video/Test.json +++ b/arkui/ace_standard_video/Test.json @@ -5,7 +5,8 @@ "test-timeout": "1000000", "shell-timeout": "1000000", "bundle-name": "com.example.acevideo", - "package-name": "com.example.acevideo" + "package-name": "com.example.acevideo", + "testcase-timeout":"10000" }, "kits": [ {