diff --git a/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets b/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets index 336dd90934bb6c4bd085995c2aa9d6a49eee956e..ef88dc7c4993bffcfeef60bcf2160aeb08871c32 100644 --- a/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets +++ b/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets @@ -157,7 +157,7 @@ export default function qrCodeJsunit() { var strJson = getInspectorByKey('QrCodeColor'); var obj = JSON.parse(strJson); console.info("[test_qrCode_005] component obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.color).assertEqual('#0000014C'); + expect(obj.$attrs.color).assertEqual('#FF00014C'); done(); }); @@ -209,7 +209,7 @@ export default function qrCodeJsunit() { var strJson = getInspectorByKey('QrCodeColor'); var obj = JSON.parse(strJson); console.info("[test_qrCode_007] component obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.backgroundColor).assertEqual('#0000014D'); + expect(obj.$attrs.backgroundColor).assertEqual('#FF00014D'); done(); }); }) diff --git a/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets b/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets index 3cf16855f857a0583b765e21ca70e6b25d4d5452..e14423e4dbc3e0979f53a327d88f092fd5e4c3c8 100644 --- a/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets +++ b/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets @@ -270,7 +270,7 @@ export default function textJsunit() { let strJsonNew = getInspectorByKey('text'); let objNew = JSON.parse(strJsonNew); console.info("testText_1200 component objNew is: " + JSON.stringify(objNew.$attrs.fontColor)); - expect(objNew.$attrs.fontColor).assertEqual('#00BC0229'); + expect(objNew.$attrs.fontColor).assertEqual('#FFBC0229'); console.info('testText_1200 END'); done(); });