Actions
action #160337
openFirefox privacy popup causing apache2_changehat to fail - Evaluate how changehat is being tested
Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Refactor/Code Improvements
Target version:
-
Start date:
2024-03-01
Due date:
% Done:
0%
Estimated time:
Difficulty:
Tags:
Description
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)
The test module apache2_changehat 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.
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)
- Get familiar with https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-apparmor-hat.html
Reproducible¶
Fails since (at least) Build 20240226 (current job)
Expected result¶
Last good: 20240225 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by szarate about 2 months ago
- Copied from action #156439: Firefox privacy popup causing apache2_changehat to fail added
Updated by dimstar about 1 month ago
- Related to action #153895: test fails in apache2_changehat: Firefox redraws after we 'decided where to click' added
Actions