fix(task): 修复培育结束后可能卡在升级界面
This commit is contained in:
parent
04c3d4c20e
commit
8f44aeed38
|
@ -682,8 +682,9 @@ def produce_end():
|
|||
# [screenshots/produce_end/end_activity.png]
|
||||
# [screenshots/produce_end/end_activity1.png]
|
||||
# [screenshots/produce_end/end_follow.png]
|
||||
# [screenshots/produce_end/end_level_up.png]
|
||||
while not at_home():
|
||||
if image.find(R.Common.ButtonClose):
|
||||
if image.find(R.Common.ButtonIconClose):
|
||||
logger.info("Activity award claim dialog found. Click to close.")
|
||||
device.click()
|
||||
elif image.find(R.Common.ButtonNextNoIcon, colored=True):
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 520 KiB |
Loading…
Reference in New Issue