未验证 提交 ff50a133 编写于 作者: O openharmony_ci 提交者: Gitee

!4694 修改3.1release新增脚本问题

Merge pull request !4694 from 张馨月/OpenHarmony-3.1-Release
...@@ -153,9 +153,9 @@ export default function commonJsunit() { ...@@ -153,9 +153,9 @@ export default function commonJsunit() {
let globalPositionY = globalThis.globalPositionY; let globalPositionY = globalThis.globalPositionY;
console.log("globalPositionX : "+globalPositionX) console.log("globalPositionX : "+globalPositionX)
expect(globalPositionX).assertEqual(16.333333333333332) expect(globalPositionX).assertEqual(16.5)
console.log("globalPositionY : "+globalPositionY) console.log("globalPositionY : "+globalPositionY)
expect(globalPositionY).assertEqual(169.33333333333334) expect(globalPositionY).assertEqual(180)
console.info('commonTest004 END'); console.info('commonTest004 END');
done(); done();
}); });
......
...@@ -39,7 +39,7 @@ export default function ProgressPageJsunit() { ...@@ -39,7 +39,7 @@ export default function ProgressPageJsunit() {
await sleep(1); await sleep(1);
let pages = router.getState(); let pages = router.getState();
console.info("get ProgressPage state success " + JSON.stringify(pages)); 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)); console.info("get ProgressPage state success " + JSON.stringify(pages.name));
let result = await router.push(options) let result = await router.push(options)
console.info("push ProgressPage page success " + JSON.stringify(result)); console.info("push ProgressPage page success " + JSON.stringify(result));
......
...@@ -39,7 +39,7 @@ export default function SideBarPageJsunit() { ...@@ -39,7 +39,7 @@ export default function SideBarPageJsunit() {
await sleep(1); await sleep(1);
let pages = router.getState(); let pages = router.getState();
console.info("get SideBarPage state success " + JSON.stringify(pages)); 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)); console.info("get SideBarPage state success " + JSON.stringify(pages.name));
let result = await router.push(options) let result = await router.push(options)
console.info("push SideBarPage page success " + JSON.stringify(result)); console.info("push SideBarPage page success " + JSON.stringify(result));
......
...@@ -640,7 +640,7 @@ ...@@ -640,7 +640,7 @@
expect(obj.$type).assertEqual('dialog') expect(obj.$type).assertEqual('dialog')
expect(obj.$attrs.id).assertEqual('dragableNone') 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)); console.info("[dialogProps] get dragable value is: " + JSON.stringify(obj.$attrs.dragable));
done(); done();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册