diff --git a/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets b/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets index 6874d151a729dcdc7e28e7f1bbc2ba00492674b9..36bb537f3c413caa364cc8e43998ce815d0ebb6a 100644 --- a/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets +++ b/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets @@ -153,9 +153,9 @@ export default function commonJsunit() { let globalPositionY = globalThis.globalPositionY; console.log("globalPositionX : "+globalPositionX) - expect(globalPositionX).assertEqual(16.333333333333332) + expect(globalPositionX).assertEqual(16.5) console.log("globalPositionY : "+globalPositionY) - expect(globalPositionY).assertEqual(169.33333333333334) + expect(globalPositionY).assertEqual(180) console.info('commonTest004 END'); done(); }); diff --git a/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/ProgressPageJsunit.test.ets b/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/ProgressPageJsunit.test.ets index dc4f460113cfeb69b43f5c15b06ddfc0c88f51c7..d085d8bfbd176f13447af41c46b227c7723cce23 100644 --- a/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/ProgressPageJsunit.test.ets +++ b/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/ProgressPageJsunit.test.ets @@ -39,7 +39,7 @@ export default function ProgressPageJsunit() { await sleep(1); let pages = router.getState(); console.info("get ProgressPage state success " + JSON.stringify(pages)); - if (!("EnumsWeek" == pages.name)) { + if (!("ProgressPage" == pages.name)) { console.info("get ProgressPage state success " + JSON.stringify(pages.name)); let result = await router.push(options) console.info("push ProgressPage page success " + JSON.stringify(result)); diff --git a/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/SideBarPageJsunit.test.ets b/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/SideBarPageJsunit.test.ets index c106b8bdf62f7eead5368314a1446750230ff20e..ce4e7ecf531b426f96c6b6435b4a27044b697256 100644 --- a/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/SideBarPageJsunit.test.ets +++ b/ace/ace_ets_test/entry/src/main/ets/MainAbility/test/SideBarPageJsunit.test.ets @@ -39,7 +39,7 @@ export default function SideBarPageJsunit() { await sleep(1); let pages = router.getState(); console.info("get SideBarPage state success " + JSON.stringify(pages)); - if (!("EnumsWeek" == pages.name)) { + if (!("SideBarPage" == pages.name)) { console.info("get SideBarPage state success " + JSON.stringify(pages.name)); let result = await router.push(options) console.info("push SideBarPage page success " + JSON.stringify(result)); diff --git a/ace/ace_standard/src/main/js/default/test/dialogProps.test.js b/ace/ace_standard/src/main/js/default/test/dialogProps.test.js index fde1eecaa5047906b72a6462b817aadabd0e734d..b701617800c72ece52458658f3eddda6d87007e4 100644 --- a/ace/ace_standard/src/main/js/default/test/dialogProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/dialogProps.test.js @@ -640,7 +640,7 @@ expect(obj.$type).assertEqual('dialog') expect(obj.$attrs.id).assertEqual('dragableNone') - expect(obj.$attrs.dragable).assertEqual(undefined) + expect(obj.$attrs.dragable).assertEqual('false') console.info("[dialogProps] get dragable value is: " + JSON.stringify(obj.$attrs.dragable)); done(); });