Commit 4a04bb8
committed
fix(tests): fix two CI failures in plugin tests on offscreen platform
- test_plugin_system: force-enable plugin actions before triggering
them, since QAction.trigger() is a no-op on disabled actions and
the workspace has 0 objects (SelectCond.at_least_one disables them)
- test_plugin_description_toggle: fix ExpandableTextWidget._get_text_width()
to fall back to minimumWidth() when width() returns 0 on unshown
widgets (offscreen QPA platform)1 parent f104592 commit 4a04bb8
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
331 | 335 | | |
332 | 336 | | |
333 | 337 | | |
| 338 | + | |
334 | 339 | | |
335 | 340 | | |
336 | 341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
216 | 220 | | |
217 | 221 | | |
218 | 222 | | |
| |||
0 commit comments