App do not quit .setNoReset(true)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách so sánh hai log được liên kết và cấu hình UiAutomator2Options, đặc biệt là sự kết hợp giữa setFullReset(false) và setNoReset(true). Tái hiện hành vi trên trình giả lập Android 13 đã nêu và xác định lý do ứng dụng không thoát; hoàn tất khi cấu hình có hành vi thoát nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Application do not quit, when used .setFullReset(false) and .setNoReset(true). After removing .setNoReset(true) and setting both .setFullReset(false) and .setNoReset(false) are working.
Environment
- Java client build version or git revision if you use some snapshot: v8.5.1
- Appium server version or git revision if you use some snapshot: v2.1.3
- Desktop OS/version used to run Appium if necessary: Window 10
- Node.js version: v18.18.0
- Mobile platform/version under test: Android 13
- Real device or emulator/simulator: Emulator
UiAutomator2Options uiAutomator2Options = new UiAutomator2Options()
.setAutomationName(AutomationName.ANDROID_UIAUTOMATOR2)
.setApp(configurationProperties.extractApkFilePath().getAbsolutePathToMobileApp().toString())
.setFullReset(false)
.setNoReset(false)
.setPlatformName(deviceContext.getPlatformName())
.setPlatformVersion(deviceContext.getPlatformVersion())
.setUdid("emulator-5554")
.setAppPackage(configurationProperties.getApkPackageName())
.setAppActivity(configurationProperties.getApkLaunchableActivityName());
uiAutomator2Options.setCapability(AndroidMobileCapabilityType.UNICODE_KEYBOARD, true);
uiAutomator2Options.setCapability(AndroidMobileCapabilityType.RESET_KEYBOARD, true);
driver = new AndroidDriver(appiumServerManager.getAppiumServerURL(), uiAutomator2Options);
driver.setSetting(Setting.ENABLE_NOTIFICATION_LISTENER, false);
driver.setSetting(Setting.WAIT_FOR_SELECTOR_TIMEOUT, 0);
driver.setSetting(Setting.WAIT_FOR_IDLE_TIMEOUT, 0);
Please find the both the logs link
-
When used .setNoReset(true)
https://gist.github.com/dipakkumar1225/cf4d7b0525dbff5637cbc8cbce2b601a -
When not used .setNoReset(true)
https://gist.github.com/dipakkumar1225/c6c666890c8afb030b29dfef290d601e
- Ngôn ngữ chính
- Java
- Star
- 1.3k
- Fork
- 755
- Merge trung bình
- 5 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của appium/java-client
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
appium/java-client#2426 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
appium/java-client#2372 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
appium/java-client#2368 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
appium/java-client#2341 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
appium/java-client#2323 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của appium/java-client
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openhab/openhab-core#5847 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
apache/parquet-java#3820 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
beehive-lab/jllm#187 ·