alibaba / alibaba/macaca

ios列表滑动问题

Open
#901 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3.2k
Forks
418
PR merge metrics
No merged PRs in 30d

Description

我用uirecorder录制了一个脚本,然后修改了滑动的方法为
` it('drag: 192, 711, 216, 236, 1.11', async function(){
//await driver.sendActions('drag', {fromX: 192, fromY:711, toX:216, toY:236, duration: 1.11});
await driver.swipe(192, 500, 216, 236, 1.11);
});
`
运行提示
drag: 192, 711, 216, 236, 1.11:
TypeError: driver.swipe is not a function
at Context. (test1.spec.js:53:22)

问题
1、请问macaca不支持swipe吗,但是看问题解答里说2016年就支持了啊?这个该怎么使用
2、如果不支持,我想将列表(ios)滑动到某一项该怎么实现,谢谢

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the failing call in test1.spec.js and compare driver.swipe with the shown driver.sendActions entry point. Reproduce the TypeError on iOS, then verify and document the supported way to perform the list gesture or identify the missing API behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.