A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Tools: web_check reads today's pointerdown log line, so the start-screen check passes again (#1814)
Eyal Golan3f450f8d43b7
diff --git a/tools/tests/test_web_check.py b/tools/tests/test_web_check.pyindex c087c8d9f..de55e4175 100644--- a/tools/tests/test_web_check.py+++ b/tools/tests/test_web_check.py@@ -318,7 +318,7 @@ class FakeGame:if target == "map": # a press the UI does not take: the map's hex clickself.nav(f"map click at ({x}, {1080 - y}) overUi=False")else:- self.nav(f"ui pointerdown id=0 at ({x}, {y}) target={target}")+ self.nav(f"ui pointerdown id=0 at ({x}, {y}) target={target} path={target} < root.root modals=-") # NavEventLog.cs:81's formatelif kind == "click":target = self.at(x, y)self.nav(f"ui click count=1 target={target}")diff --git a/tools/web_check.py b/tools/web_check.pyindex 119bcc444..b7029f630 100644--- a/tools/web_check.py+++ b/tools/web_check.py@@ -483,7 +483,7 @@ class ConsoleTail:# What ?navlog's NavEventLog says of a press and a click: the deepest UI element under the pointer, by name.-NAV_DOWN = re.compile(r"^NAV f=\d+ t=\d+ ui pointerdown id=\d+ at \([^)]*\) target=(\S+)$")+NAV_DOWN = re.compile(r"^NAV f=\d+ t=\d+ ui pointerdown id=\d+ at \([^)]*\) target=(\S+)(?: .*)?$") # NavEventLog adds path= and modals= after targetNAV_CLICK = re.compile(r"^NAV f=\d+ t=\d+ ui click count=\d+ target=(\S+)$")# A left press the map takes: not over the UI, or (#1617) on the unit card's text over a lit hex of its armed Move pick,# which moves the unit. So EndTurn finds Skip with the middle button, which only the UI's pointer events see.