fix: retry mobile QR loading

This commit is contained in:
Rixuan Shao
2026-07-11 21:53:19 +08:00
parent 782cfb66d0
commit 1cf15e8a6b
2 changed files with 9 additions and 2 deletions
@@ -193,6 +193,8 @@ class WebUiSafetyTests(unittest.TestCase):
block_end = script.index('document.querySelectorAll(".login-desktop-save")', block_start)
block = script[block_start:block_end]
self.assertLess(block.index("window.open(publicUrl"), block.index('await postForm("/login-desktop/open")'))
self.assertIn("refreshLoginQr(1800)", block)
self.assertIn("retries - 1", script)
def test_schedule_sync_writes_configured_window_to_shared_spool(self):
with tempfile.TemporaryDirectory() as temp_dir: