Project

General

Profile

action #125351

Updated by leli almost 2 years ago

#### Motivation 
 There are two dialogs shown in overview and caused gnome-terminal can't match, https://openqa.suse.de/tests/10615068#step/rmt_chinese/69. So we should The rmt_chinese test has issue to close dialog of language-change-required-update-folder to avoid such issue. language-change-required-update-folder. 
 https://openqa.suse.de/tests/10615068#step/rmt_chinese/65 

 in lib lib/x11utils.pm sub handle_login: 
 assert_screen([qw(generic-desktop gnome-activities opensuse-welcome)], 180); 
     if (match_has_tag('gnome-activities')) { 
         send_key_until_needlematch [qw(generic-desktop opensuse-welcome language-change-required-update-folder)], 'esc'; 
         if (match_has_tag('language-change-required-update-folder')) { 
             assert_and_click('reserve_old_folder_name'); 
             assert_screen([qw(generic-desktop opensuse-welcome)]); 
         } 
     } 

 When desktop matched, it will quit the function of handle_login and do not deal with the action of dialog of language-change-required-update-folder. 

 So there are two options to fix this,  
 1: to move the logic for language-change-required-update-folder to test code of tests/x11/rmt/rmt_chinese.pm such as after line 54: handle_relogin; 
 2: to update code in handle_relogin using the setting of RMT_TEST. 
 #### Acceptance criteria 
 **AC1**: Update code to select 'reserve_old_folder_name' and close the dialog of language-change-required-update-folder

Back