From: Flavio Calva Date: Thu, 5 May 2022 18:24:15 +0000 (+0100) Subject: ffmpeg recording does not work with fullscreen testing X-Git-Url: http://git.ya2.it/?p=pmachines.git;a=commitdiff_plain;h=d48149892a2fac1fac81214375b92435452d8fa3 ffmpeg recording does not work with fullscreen testing --- diff --git a/lib/tools/functional_test.py b/lib/tools/functional_test.py index 8b0038d..3d596bf 100644 --- a/lib/tools/functional_test.py +++ b/lib/tools/functional_test.py @@ -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')