提交 382d1909 编写于 作者: G gaoxi

删除用例3500

Signed-off-by: Ngaoxi <gaoxi785@huawei.com>
上级 cdac67bb
......@@ -138,10 +138,6 @@ export class ExtensionContextTest {
displayId = -1;
this.getWindowsByIdPromise(caseName, displayId);
break;
case 'AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3500':
await this.setAccessibilityFocus();
this.getFocusElementCallback(caseName, true);
break;
case 'AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3600':
await this.clearAccessibilityFocus();
this.getFocusElementCallback(caseName, false);
......
......@@ -751,39 +751,6 @@ export default function abilityTest() {
}
})
/*
* @tc.number AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3500
* @tc.name AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3500
* @tc.desc The parameter input is null, test the getFocusElement() function,
* The result of getFocusElement() should be AccessibilityElement type.
* @tc.size SmallTest
* @tc.type User
*/
it('AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3500', 0, async function (done) {
let caseName = 'AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3500';
console.info(caseName + 'start');
if (isConnect) {
publishCaseExecute(caseName);
setTimeout(() => {
if (caseResult != undefined) {
console.info(caseName + ':' + caseResult.data);
expect(passStr).assertEqual(caseResult.data);
expect(caseName).assertEqual(caseResult.parameters.case);
} else {
console.info(caseName + ': caseResult is undefined');
expect(null).assertFail();
}
done();
}, 5500);
} else {
console.error(caseName + ': extension not connected');
expect(null).assertFail();
done();
}
})
/*
* @tc.number AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3600
* @tc.name AccessibilityExtensionContextTest_getFocusElement_asyncCallback_3600
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册