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

!5852 uitest框架调整,xts用例适配

Merge pull request !5852 from 周柯/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册