[functional][u] Refactor susedistribution::x11_start_program to support command not found (and retry)
|Category:||Enhancement to existing tests||Estimated time:||42.00 hours|
|Target version:||SUSE QA tests - Milestone 30|
As a result of poo#54401, and https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8192 the proposed solution would help if spread to other areas. So making it more generic, and allow
x11_start_program to support mistyping.
- In the case of xterm, when command is not found, use
- In the case of application launchers, press
escensure desktop is matched, and try again like it was implemented for firefox_audio.
Starting with application launchers would/should be the easier way to start. Building a small matrix of the desktops where it would be supported, would help a lot.
- Building a small matrix of the desktops where it would be supported
- Move the for loop of the retry inside x11_start_program
- MinimalX (not yet verified)
#6 Updated by SLindoMansilla 4 months ago
Missing task 1: Building a small matrix of the desktops where it would be supported
Well that should be every desktop where 'esc' closes the runner
And which ones are those? :P, because the xterm case, is not a desktop per sé :P
(Sorry for the nipticking but having a matrix would really help in the future, even if right now, feels silly and short...)
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8613 is the revert, merged.
New PR that already got merged: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8633
another revert merged: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8723