Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 增加adb和uia的拖拽控件(DragAndDrop)操作 #447

Conversation

YeungHoiChiu
Copy link
Contributor

Whether this PR is eventually merged or not, Sonic will thank you very much for your contribution.

无论此PR最终是否合并,Sonic组织都非常感谢您的贡献。

Checklist

  • The title starts with fix, fea, or doc. | 标题为fix、feat或doc开头。
  • I have checked that there are no duplicate pull requests with this request. | 我已检查没有与此请求重复的拉取请求。
  • I have considered and confirmed that this submission is valuable to others. | 我已经考虑过,并确认这份呈件对其他人很有价值。
  • I accept that this submission may not be used. | 我接受此提交可能不会被使用。

Description

  1. 原来平台的Android测试步骤提供的 带有「拖拽」字眼的操作例如「拖拽滑动」、「拖拽控件元素」,除了sonic-apk触摸模式下都是普通滑动(没有元素拖拽效果),因此对 AndroidStepHandler的(原)拖拽名词描述改为了滑动,handler的swipe方法里面sonic-apk的操作也修改为普通滑动,将拖拽放到drag方法中;
  2. 新增drag方法,对接 feat: Resolves #126 - 增加拖拽、以及三个touch操作(仅安卓) sonic-driver-core#127 新增uia的drag操作,并对接adb draganddrop操作

@YeungHoiChiu YeungHoiChiu changed the title feat: 增加adb和uia的drag and drop操作(真-拖拽元素操作) feat: 增加adb和uia的drag and drop操作 Jun 1, 2024
@prlabeler prlabeler bot added the feature label Jun 1, 2024
@YeungHoiChiu YeungHoiChiu changed the title feat: 增加adb和uia的drag and drop操作 feat: 增加adb和uia的drag and drop操作 Jun 1, 2024
@YeungHoiChiu YeungHoiChiu changed the title feat: 增加adb和uia的drag and drop操作 feat: 增加adb和uia的拖拽控件(DragAndDrop)操作 Jun 1, 2024
@ZhouYixun
Copy link
Member

这改动有点大,我后面检查一下,因为driver那边也要发一下maven仓库

@YeungHoiChiu
Copy link
Contributor Author

和motionEvent操作合并重提pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants