Refine ranch tree, growth sync and monitoring policies

This commit is contained in:
AttilaNet
2026-11-08 09:53:02 +08:00
parent a37627b490
commit 9611a3413f
24 changed files with 640 additions and 1227 deletions
+2 -2
View File
@@ -418,8 +418,8 @@ class AutomationGuiTests(unittest.TestCase):
before = len(window.engine.snapshot.raw["monsters"])
def select(mid):
window.tabs.setCurrentWidget(window.monster_page)
row = next(i for i in range(window.monsters.rowCount()) if int(window.monsters.item(i, 0).text()) == mid)
window.monsters.selectRow(row)
window.monsters.clearSelection()
window.monsters.setCurrentItem(window.monsters.monster_items[mid])
select(101)
self.assertTrue(window.lock_monsters.isEnabled())
window.lock_monsters.click()