Actions
action #160337
openaction #166382: [qe-core] Review Our Own Firefox Tests
Firefox privacy popup causing apache2_changehat to fail - Evaluate how changehat is being tested
Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
Refactor/Code Improvements
Target version:
-
Start date:
2024-03-01
Due date:
% Done:
0%
Estimated time:
Difficulty:
Sprint:
QE-Core: September Sprint 24 (Sep 05 - Oct 03)
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 6 months ago
- Copied from action #156439: Firefox privacy popup causing apache2_changehat to fail added
Updated by dimstar 6 months ago
- Related to action #153895: test fails in apache2_changehat: Firefox redraws after we 'decided where to click' added
Updated by tinawang123 3 months ago
- Status changed from Workable to In Progress
- Assignee set to tinawang123
Updated by szarate about 1 month ago
Perhaps we can check with Hawk / Selenium / Playwright / Pupeteer
Actions