action #160337
Updated by szarate about 2 months ago
## Observation It seems that the Changehat is kind of an overkill, and possibly it could be tested in a different way (i.e using curl, or playwright instead of needles + firefox) See also #156439 and pr provided there The test module [apache2_changehat](https://openqa.opensuse.org/tests/3964918/modules/apache2_changehat/steps/108) occasionally fails because 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 this test is currently a consoletest. Context: This came up in the open conversation in the QE Tools workshop, discussing recurring test issues that come up as flaky. ### Acceptance Criteria * AC1: Test is can be scheduled 100 times with no failures (use `--repeat` parameter of the clonejob) * AC2: Evaluate and/or propose a refactor of the test #### Suggestions * See also #156439 and pr provided there (i.e rebase it or offer to help @livdywan) Base the test on x11test * Get familiar with https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-apparmor-hat.html Replace duplicated logic to setup Firefox #### 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)