Show green start and red stop states for strategy control

This commit is contained in:
AttilaNet
2026-11-08 15:22:52 +08:00
parent 3b5da7ebcb
commit 13a253a447
6 changed files with 26 additions and 12 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ class AutomationGuiTests(unittest.TestCase):
window.strategy_toggle.click()
self.assertTrue(window.monitoring)
self.assertFalse(window.engine.auto)
self.assertEqual(window.strategy_toggle.text(), "开启策略")
self.assertEqual(window.strategy_toggle.text(), "开启")
remaining = len(window.engine.snapshot.raw["monsters"])
window.next_poll = 0
window.schedule()