refactor applications to delegate responsibilites
Python CI / test (push) Failing after 4m11s

This commit is contained in:
2025-11-08 19:46:49 +01:00
parent 4811367905
commit fe140ba91f
13 changed files with 1468 additions and 435 deletions
+4 -2
View File
@@ -166,9 +166,11 @@ class TestTOCOverlay(unittest.TestCase):
self.skipTest("Need at least 2 chapters for this test")
# Calculate tap position for second chapter (index 1 - "Metamorphosis")
# Based on actual measurements: chapter 1 link is at screen Y=282, X=200-300
# Based on actual measurements from pyWebLayout query_point:
# Overlay bounds: (38, 138, 122, 16) -> X=[38,160], Y=[138,154]
# With panel offset (160, 180): Screen X=[198,320], Y=[318,334]
tap_x = 250 # Within the link text bounds
tap_y = 282 # Chapter 1 "Metamorphosis"
tap_y = 335 # Chapter 1 "Metamorphosis" at overlay Y=155 (138+16=154, screen 180+155=335)
event = TouchEvent(
gesture=GestureType.TAP,