From 4b823fdeb0da9ef9df7df0561a976609049f9d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89=E5=BE=92=E7=9C=B8?= Date: Thu, 29 Oct 2026 22:07:28 +0800 Subject: [PATCH] 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 --- tasks/Component/GeneralInvite/general_invite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/Component/GeneralInvite/general_invite.py b/tasks/Component/GeneralInvite/general_invite.py index 85cb3c7ad5..cbda494700 100644 --- a/tasks/Component/GeneralInvite/general_invite.py +++ b/tasks/Component/GeneralInvite/general_invite.py @@ -507,7 +507,7 @@ def invite_again(self, default_invite: bool=True) -> bool: 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')