Commit c914fa8
Fix TaskDetailsView and SatFlashMessages for PF5 UI updates
TaskDetailsView: The task details page no longer uses a "Task" tab.
Metadata (Result, State, etc.) is now in an overview section using
<small> labels. Progress bar disappears on completion. Result text
is now capitalized ("Success" instead of "success").
Changes:
- Change task from PF5Tab to plain View with overview section ROOT
- Update TaskReadOnlyEntry locator for <small> label pattern
- Normalize TaskReadOnlyEntry.read() to lowercase for compatibility
- Remove progressbar.is_displayed check from wait_for_result
- Update state, progressbar, output, dynflow_console locators
SatFlashMessages: The flash container <ul> gained an extra class
(foreman-toast-group), breaking the exact @Class= match.
Changes:
- Use contains() instead of exact class match in ROOT locator
Test commands:
pytest tests/foreman/ui/test_hostcollection.py::test_negative_hosts_limit
pytest tests/foreman/ui/test_hostcollection.py::test_positive_change_assigned_content
pytest tests/foreman/ui/test_product.py::test_positive_bulk_action_advanced_sync
pytest tests/foreman/ui/test_repository.py::test_positive_sync_yum_repo_and_verify_content_checksum
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8394b2c commit c914fa8
2 files changed
Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | | - | |
94 | | - | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
105 | 112 | | |
106 | | - | |
| 113 | + | |
107 | 114 | | |
108 | 115 | | |
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
112 | 119 | | |
113 | | - | |
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1130 | 1130 | | |
1131 | 1131 | | |
1132 | 1132 | | |
1133 | | - | |
| 1133 | + | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
| |||
0 commit comments