Project

General

Profile

Actions

action #127529

closed

coordination #121825: [epic] Enabling and enhacements for products in maintenance

Implement java popup handling inside the installation libraries

Added by syrianidou_sofia about 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Urgent
Target version:
Start date:
2023-04-12
Due date:
% Done:

0%

Estimated time:

Description

Motivation

After failures cause by Java license popup we implemented a solution, added directly in confirm_installation.pm. To make the solution more practical and possibly use it in further distributions, it should be moved into our framework to avoid conditional logic on Test Layer.

Furthermore, the Java License popup, appears during installation only when there are maintenance updates for the particular package, so the same tests for some maintenance update releases will have the popup and for some, not. The solution should not cause test failure when the Java license popup does not appear. There should be a condition inside the Installation library function confirm_installation() that will check if the popup appears, in this case accept it and record_info. If it does not appear, then proceed to confirm installation as it currently does.

Acceptance criteria

AC1: The confirm_installation.pm will only run the function confirm_installation() as it was previously, but now it will accept as argument list of SCC_ADDONS
AC2: There will be an specific implementation of this method for SLE 15 SP4 via distribution pattern, so we can avoid the part of condition related with the product
AC3: We have an explicit wait in confirm_installation that most likely could be removed, because the Java popup appears almost instantaneously. We need to try to remove it or, in case it's not possible, to minimize the wait time.

Additional information

Previous work: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/16830

Actions

Also available in: Atom PDF