ya2 · news · projects · code · about

functional test: fullscreen
authorFlavio Calva <f.calva@gmail.com>
Thu, 5 May 2022 17:50:41 +0000 (18:50 +0100)
committerFlavio Calva <f.calva@gmail.com>
Thu, 5 May 2022 17:50:41 +0000 (18:50 +0100)
lib/tools/functional_test.py
prj.org

index 5e7bb317e519a2b4ce16212a8bedd84f064cf3d6..0101aff3fd72cbd01dc7b335b47d996934fab29e 100644 (file)
@@ -181,12 +181,12 @@ class FunctionalTest(GameObject):
         self._screenshot(FunctionalTest.screenshot_time, 'options_menu_drag_2')
         # fullscreen
         # the first one is because of the windowed mode in test
-        self._event(FunctionalTest.evt_time, 'mouseclick', [(680, 250), 'left'])
-        self._screenshot(FunctionalTest.screenshot_time, 'fullscreen')
-        self._event(FunctionalTest.evt_time, 'mouseclick', [(680, 250), 'left'])
-        self._screenshot(FunctionalTest.screenshot_time, 'fullscreen')
-        # self._event(8 + FunctionalTest.evt_time, 'mouseclick', [(680, 250), 'left'])
-        self._screenshot(8 + FunctionalTest.screenshot_time, 'back_from_fullscreen')
+        self._event(FunctionalTest.evt_time, 'mouseclick', [(680, 250), 'left'])
+        self._screenshot(FunctionalTest.screenshot_time, 'fullscreen')
+        self._event(FunctionalTest.evt_time, 'mouseclick', [(680, 250), 'left'])
+        self._screenshot(FunctionalTest.screenshot_time, 'fullscreen')
+        self._event(8 + FunctionalTest.evt_time, 'mouseclick', [(440, 120), 'left'])
+        self._screenshot(8 + FunctionalTest.screenshot_time, 'back_from_fullscreen')
         # resolution
         # self._event(FunctionalTest.evt_time, 'mouseclick', [(680, 340), 'left'])
         # self._screenshot(FunctionalTest.screenshot_time, 'resolutions')
diff --git a/prj.org b/prj.org
index c684fa5bf4a5025f5c7935cef4176a3b179a8e5b..88010e82077a64a7349c55f165c7b23a7aeb0736 100644 (file)
--- a/prj.org
+++ b/prj.org
@@ -4,7 +4,7 @@
 #+TAGS: bug(b) calendar(c) waiting(w)
 
 * RED restore test resolutions
-* READY restore test fullscreen
+* READY merge rc, stable
 * READY fix actions: rewind, prev, next                                 :bug:
 * READY restore tests for level 6 and 7
 * READY move functional tests in tests from lib.engine