Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
4995d90c
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4995d90c
编写于
8月 26, 2023
作者:
O
openharmony_ci
提交者:
Gitee
8月 26, 2023
浏览文件
操作
浏览文件
下载
差异文件
!9884 ListItem长距离左滑删除,bindMenu能力增强xts测试用例修复
Merge pull request !9884 from limeng/list_bindMenu_xts
上级
00d8dd8e
89f6f8a0
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
3 addition
and
19 deletion
+3
-19
arkui/ace_ets_component_api/src/main/ets/test/BindMenu.test.ets
...ace_ets_component_api/src/main/ets/test/BindMenu.test.ets
+1
-17
arkui/ace_ets_component_api/src/main/ets/test/ListDelete.test.ets
...e_ets_component_api/src/main/ets/test/ListDelete.test.ets
+2
-2
未找到文件。
arkui/ace_ets_component_api/src/main/ets/test/BindMenu.test.ets
浏览文件 @
4995d90c
...
@@ -93,25 +93,9 @@ export default function BindMenuTest() {
...
@@ -93,25 +93,9 @@ export default function BindMenuTest() {
let
CASE
=
'ArkUI_Menu_0200'
let
CASE
=
'ArkUI_Menu_0200'
console
.
info
(
`${SUITE} ${CASE} START`
);
console
.
info
(
`${SUITE} ${CASE} START`
);
async
function
step2
()
{
let
callback2
=
(
event
)
=>
{
expect
(
event
.
data
.
action
)
.
assertEqual
(
'onDisappear'
);
done
();
}
let
event2
=
{
eventId
:
60003
,
priority
:
events_emitter
.
EventPriority
.
LOW
}
events_emitter
.
on
(
event2
,
callback2
);
let
driver
=
Driver
.
create
()
await
driver
.
delayMs
(
waitUiReadyMs
)
driver
.
click
(
100
,
400
)
}
let
callback
=
(
event
)
=>
{
let
callback
=
(
event
)
=>
{
expect
(
event
.
data
.
action
)
.
assertEqual
(
'onAppear'
);
expect
(
event
.
data
.
action
)
.
assertEqual
(
'onAppear'
);
step2
()
done
()
}
}
let
event
=
{
let
event
=
{
eventId
:
60002
,
eventId
:
60002
,
...
...
arkui/ace_ets_component_api/src/main/ets/test/ListDelete.test.ets
浏览文件 @
4995d90c
...
@@ -104,7 +104,7 @@ export default function ListDeleteTest() {
...
@@ -104,7 +104,7 @@ export default function ListDeleteTest() {
let rectCenter = getRectCenterVp(obj.$rect)
let rectCenter = getRectCenterVp(obj.$rect)
let driver = Driver.create()
let driver = Driver.create()
await driver.swipe(rectCenter[0]
, rectCenter[1], 6
00, rectCenter[1])
await driver.swipe(rectCenter[0]
- 200, rectCenter[1], rectCenter[0] + 2
00, rectCenter[1])
let strJsonButtonDel = getInspectorByKey(baseKey + '_Button_Del');
let strJsonButtonDel = getInspectorByKey(baseKey + '_Button_Del');
let objButtonDel = JSON.parse(strJsonButtonDel);
let objButtonDel = JSON.parse(strJsonButtonDel);
...
@@ -145,7 +145,7 @@ export default function ListDeleteTest() {
...
@@ -145,7 +145,7 @@ export default function ListDeleteTest() {
}
}
events_emitter.on(event, callback);
events_emitter.on(event, callback);
let rectCenter = getRectCenter(obj.$rect)
let rectCenter = getRectCenter(obj.$rect)
await driver.swipe(Math.round(rectCenter[0]), Math.round(rectCenter[1]),
await driver.swipe(Math.round(rectCenter[0])
+ 200
, Math.round(rectCenter[1]),
0, Math.round(rectCenter[1]))
0, Math.round(rectCenter[1]))
console.info(`${SUITE} ${CASE} END`);
console.info(`${SUITE} ${CASE} END`);
});
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录