提交 884a0488 编写于 作者: Mupceet's avatar Mupceet

无障碍功能测试errorCode处理

Signed-off-by: Mupceet's avatarMupceet <mupceet@gmail.com>
上级 24293b7f
......@@ -389,33 +389,6 @@ export default function CaptionConfigurationTest() {
}, 8000);
});
/**
* @tc.number: CaptionConfiguration_0120
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0120', 1, async function (done) {
const caseName = "CaptionConfiguration_0120";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
CaptionConfigurationOn(caseName, undefined);
}, 1000);
setTimeout(() => {
excuteCase(caseName);
}, 2000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') != -1) {
isSucceedTarget = true;
}
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(false);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
done();
}, 8000);
});
/**
* @tc.number: CaptionConfiguration_0130
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册