AirtestProject / AirtestProject/iOS-Tagent

ios用swipe滑动距离不精准,单位滑动距离过大

Open
#109 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
722
Forks
194
PR merge metrics
No merged PRs in 30d

Description

描述
在iphone8 ios12.2环境下:
1.使用poco("xxx").swipe([0, -0.02])和poco("xxx").swipe([0, -0.03])
对比滑动距离,前者不滑动,后者从A直接滑动到C
2.使用swipe(v1=[x1, y1], v2=[x2, y2-33])和swipe(v1=[x1, y1], v2=[x2, y2-34])
对比滑动距离,前者不滑动,后者从A直接滑动到C

**预期效果**
通过坐标或者偏移量的微调实现滑动距离微调,可以从A滑动到B

滑动前后对比截图
![1](https://user-images.githubusercontent.com/44936424/66885961-84cddf80-f008-11e9-9486-fafe84c28fa0.png)
![2](https://user-images.githubusercontent.com/44936424/66885967-89929380-f008-11e9-86c0-ea93856ba86c.png)
**python 版本:** `python3.6.8`
**poco 版本:** `1.0.78`
**设备:**
- 型号: iphone8
- 系统: ios12.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.