Project

General

Profile

action #109795

Updated by rainerkoenig about 2 years ago

# Observation 

 Test module *welcome* fails because enable_fullscreen does not resize the YaST window to fullscreen. 
 After [this step](https://openqa.suse.de/tests/8495463#step/welcome/4) the YaST window should resize to fullscreen, but it does not.  

 **Related ticket:** [poo#106514: Fix ensure_fullscreen in ssh-X scenario in s390x and pVM](https://progress.opensuse.org/issues/106514) 

 # Root cause 

 Method enable_fullscreen calls fullscreen method from [os-autoinst/consoles/localXVnc.pm](https://github.com/os-autoinst/os-autoinst/blob/master/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

Back