截图不全改回true
This commit is contained in:
@@ -1050,7 +1050,7 @@ class ScreenshotPage:
|
||||
'duration': 500
|
||||
})
|
||||
|
||||
time.sleep(0.5)
|
||||
# time.sleep(0.5)
|
||||
|
||||
# 获取滑动后的子元素文本
|
||||
new_child_elements = list_view.find_elements(AppiumBy.CLASS_NAME, "android.widget.TextView")
|
||||
@@ -1557,7 +1557,7 @@ class ScreenshotPage:
|
||||
# return False
|
||||
|
||||
# 根据截图结果更新time.txt文件状态
|
||||
status = "ok" if all_success else "again"
|
||||
status = "ok" if all_success else "true"
|
||||
# self.update_upload_info_status(status)
|
||||
username = global_variable.get_username()
|
||||
self.update_file_status(username, "running", status)
|
||||
|
||||
Reference in New Issue
Block a user