Project

General

Profile

action #124610

Updated by JERiveraMoya almost 2 years ago

#### Motivation 
 Catch regression when sending right key when switching to tab Bootloader Options in ncurses 
 Related ticket: https://progress.opensuse.org/issues/124430 
 Related bug: https://bugzilla.suse.com/show_bug.cgi?id=1208266 

 In Yam job group we run https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/installation/bootloader_settings/disable_boot_menu_timeout.pm 
 which is using libyui-rest-api which interact directly with the UI widget via some id, and not sending keys. 

 To catch this regression we could create a new test module with similar functionality than disable_boot_menu_timeout but navigating right using testapi, so it will be an hybrid. This will enable other squad to move to AutoYaST having piece of mind that this test case is covered. 

 Anyway this kind of testing is a corner case, just with the introspection provided by the libyui-rest-api we can catch most of the stuff, but it is true that we should maintain some basic testing with needles and shortcuts using testapi, for that in Yam job group we have the off-line installation and some multi-machine scenario which do not work with libyui-rest-api. 

 This only happens in textmode (ncurses) and the offline scenario runs in qt, but we shouldn't create new test suite for it, but incorporate it in existing test coverage. 

 #### Acceptance criteria 
 **AC1**: Create new test module which use libyui-rest-api for everything except for that step to go 'right' 
 **AC2**: Enable this test module in some existing textmode scenario

Back