Project

General

Profile

action #93032

Updated by oorlov 4 months ago

There is `accept_license` module, implemented with LibyuiClient already: https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/installation/licensing/accept_license.pm. It is already used in [installer_extended](https://openqa.suse.de/tests/5951331) test suite.

Please,

## Task
1. Replace Use the old `accept_license` module with the new [accept_license](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/installation/licensing/accept_license.pm) module in all the test suites for SLE15-SP3 YaST Job Group;
2. Adapt existing implementation to be used on Tumbleweed and openSUSE Leap 15 also (i.e. use DistributionFactory to provide the proper controller for TW and Leap, so that the test module remains same, but implementation of `get_license_agreement()->accept_license()` is different), as on TW and Leap there is no checkbox for accepting License.
3. Replace Use the old `accept_license` module with the new [accept_license](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/installation/licensing/accept_license.pm) module in all the test suites for Tumbleweed and openSUSE Leap 15.

**Important Notes:**
All the cases that do not related to accepting license are out of scope:
*

4.
`switch_keyboard_gnome/textmode` is out of scope and will be implemented in separate ticket, so for now please leave the old 'welcome' module there;
* Product Selection Screen is out of scope, it will be implemented in separate ticket.
there.

The new module should replace the old "accept_license" used in SLE, and "welcome" module used in opensuse. It should work for both textmode and graphical installations. Please see identified scenarios in #88939 as additional help.

Back