action #156439
Updated by livdywan 11 months ago
## Observation The test module assert_and_click is a single function but implemented as multiple calls to the backend. So for example in [apache2_changehat](https://openqa.opensuse.org/tests/3964918/modules/apache2_changehat/steps/108) occasionally fails because you can observe how a popup bar comes up between the mouse moving to the needle and the click of the button, which is no longer in the same place. The x11test base class has Firefox-specific abstractions which cover this, however There is no trivial way to avoid this on the test is currently a consoletest. side because movements in the UI can not be anticipated or avoided, and the test can't avoid the internal delay. Context: This came up in the open conversation in the QE Tools workshop, discussing recurring test issues that come up as flaky. ## Suggestions * Base the test on x11test Find a way to reduce or eliminate timeouts between backend calls * Replace duplicated logic to setup Firefox Consolidate individual check_screen and backend_mouse_button into a single backend function in isotovideo * ## Reproducible Fails since (at least) Build [20240226](https://openqa.opensuse.org/tests/3964918) (current job) ## Expected result Last good: [20240225](https://openqa.opensuse.org/tests/3963542) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=apparmor_profile&version=Tumbleweed)