lib/y2_logs_helper.pm

verify_license_has_to_be_accepted

    verify_license_has_to_be_accepted;

Explicitly check that the license has to be accepted.

Press 'Next' button to trigger a popup saying that the License has to be accepted then close the popup.

accept_license

    accept_license;

Select checkbox accepting the License agreement and check if it is actually selected.

Mark the test as failed if the checkbox is not selected after sending an appropriate command, otherwise proceed further.