action #109795
closedEnlarge visible window only in fullscreen method
0%
Description
Observation¶
Test module welcome fails because enable_fullscreen does not resize the YaST window to fullscreen.
After this step the YaST window should resize to fullscreen, but it does not.
Root cause¶
Method enable_fullscreen calls fullscreen method from os-autoinst/consoles/localXVnc.pm.
There we try to determinte the YaST window_id by searching for all windows with 'YaST*' in the title and then
limiting the list to 1 entry. This might select the wrong window if there is another YaST window behind the one
that we see. See https://github.com/os-autoinst/os-autoinst/blob/bb2427774542c8d48fd9fda5e50dc1adafd4c4ef/consoles/localXvnc.pm#L54
for details.
Possible solution¶
Replace the '--limit 1' paramter of the xdotool call with '--onlyvisible' which should select the visible YaST window and
resize it.
Acceptance criteria¶
AC1: Fix resizese YaST window to fullscreen