Просмотр исходного кода

fix(GeneralInvite): use interval=3 for I_UI_UNCHECK in invite_again

Fixes occasional checkbox recognition issue in the re-invite dialog,
matching the same fix already applied in check_and_invite.

Fixes #1881
微凉徒眸 2 недель назад
Родитель
Сommit
4b823fdeb0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tasks/Component/GeneralInvite/general_invite.py

+ 1 - 1
tasks/Component/GeneralInvite/general_invite.py

@@ -507,7 +507,7 @@ class GeneralInvite(BaseTask, GeneralInviteAssets):
                 self.screenshot()
                 if self.appear(self.I_UI_CHECK):
                     break
-                if self.appear_then_click(self.I_UI_UNCHECK, interval=1):
+                if self.appear_then_click(self.I_UI_UNCHECK, interval=3):
                     continue
         else:
             logger.info('Click no default invite')