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.

## Scope:
Job Groups: SLE15-SP3 YaST, openSUSE Tumbleweed, openSUSE Leap 15
Test Cases: #1 - Accept license agreement (Please, see test cases in https://progress.opensuse.org/issues/93282).

## Task
1. Replace 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 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:
* `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 for such cases; there;
* Product Selection Screen is out of scope, it will be implemented in separate ticket.

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