ya2 · news · projects · code · about

ffmpeg recording does not work with fullscreen testing
authorFlavio Calva <f.calva@gmail.com>
Thu, 5 May 2022 18:24:15 +0000 (19:24 +0100)
committerFlavio Calva <f.calva@gmail.com>
Thu, 5 May 2022 18:24:15 +0000 (19:24 +0100)
lib/tools/functional_test.py

index 8b0038d67990be171b35bf7011b5d86389844a7d..3d596bfae8b1daa1486f141c246045872686a0a4 100644 (file)
@@ -181,12 +181,13 @@ 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', [(440, 120), 'left'])
-        self._screenshot(8 + FunctionalTest.screenshot_time, 'back_from_fullscreen')
+        # it does not work with ffmpeg recording
+        # 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')