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

!4670 修改xts event测试用例

Merge pull request !4670 from Mupceet/release_0727_xts
...@@ -326,10 +326,9 @@ export default function abilityTest(abilityContext) { ...@@ -326,10 +326,9 @@ export default function abilityTest(abilityContext) {
await accessibility.sendEvent(event); await accessibility.sendEvent(event);
setTimeout(() => { setTimeout(() => {
let types = eventTypes;
let findResult = false; let findResult = false;
for (let type of types) { for (let item of events) {
if (type == eventType) { if (item.eventType == eventType) {
findResult = true; findResult = true;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册