Project

General

Profile

action #115019

Updated by mkittler almost 2 years ago

## Motivation 
 To have a complete system test of "start_gui_program" in os-autoinst/wheel-launcher we need to boot a system where we can actually start a gui program. How about putting that functionality into another wheel which we can depend on (nested wheels?) 

 ## Acceptance criteria 
 * **AC1:** os-autoinst/os-autoinst-wheel-launcher has a system test using another wheel booting a system 

 ## Suggestions 
 * Extract [wait_boot](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/d54ce16153c81f4807be058eb0d684d40e3a5d2b/lib/opensusebasetest.pm#L1141) from os-autoinst-distri-opensuse which is called like in https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/boot/boot_to_desktop.pm#L52 into a wheel which can be used from other wheels 
 * Use the boot wheel in the launcher wheel to have a complete system test, like "boot the system into a GUI session, then call 'start_gui_program' and see that it behaves" 
 * Run test in GitHub action 
 * Any re-use of tests is not expected to use the example needle(s) from the wheel 
 * Try out running the same test within an openQA job to see if it works correctly

Back