alibaba / alibaba/macaca

安卓设备,设置reuse:3时start app with: {"package":"xxxxxxx","activity":""},但是在activity已设置类,无法调起

Open
#980 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

>> UIAutomatorWD http server ready
>> macaca-android.js:303:10 [master] pid:13485 start app with: {"package":"com.mango.mangomis","activity":""}
>> responseHandler.js:49:14 [master] pid:13485 Send HTTP Respone to Client[2020-07-09 16:44:06]: {"sessionId":"544e759f-d593-475a-97a4-34e48957fa73","status":0,"value":"{\"platformName\":\"Android\",\"deviceName\":\"emulator-5554\",\"package\":\"com.xxx.xxxx\",\"activity\":\"com.xxx.xxxx.xxx.xxxx.xxx.xxxx.activity.SplashActivity\",\"reuse\":3,\"udid\":\"xxxxxxx\"}"}

在指定activity情况下,是否应该有此值,目前reuse:3 没有此功能

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Android session with reuse:3 and an empty activity, then inspect macaca-android.js at line 303 where the app-start arguments are logged. Compare the configured SplashActivity with the activity passed to the start-app path and verify that reuse:3 preserves the requested activity behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.