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

!5863 uitest测试框架调整,测试用例适配修改

Merge pull request !5863 from 周柯/weekly_20221011
......@@ -54,7 +54,7 @@ export default function OnAndOffScreenTest() {
async function slideScreen(TAG) {
console.log(TAG + "slideScreen start");
var driver = UiDriver.create();
await driver.swipe(1000, 3000, 1000, 500, 1200).then((data) => {
await driver.swipe(1000, 3000, 1000, 500).then((data) => {
console.log(TAG + "swipe : " + JSON.stringify(data));
}).catch((error) => {
console.log(TAG + "swipe error = " + JSON.stringify(error));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册