Project

General

Profile

Actions

action #25754

closed

[sle][functional][yast][easy] don't wait 100s for pop-up in addon_products_yast2.pm

Added by thehejik about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Start date:
2017-10-04
Due date:
2018-03-27
% Done:

0%

Estimated time:
Difficulty:

Description

In addon_installation_yast2.pm we have following code which means that we are waiting 100s for pop-up which will not occur is most cases.

if (check_screen 'addon-installation-pop-up', 100) { # e.g. RT reboot to activate new kernel
...
}

Rodion wrote following:
I know that this code was here before, but it's bad that we will wait for 100 seconds when pop up is not there. So maybe we can improve here and do assert_screen on multiple tags and process them accordingly using match_has_tag api call.

Note: this is old ticket, I was not able to find any test suite which uses this module.

Acceptance criteria

AC1: There is no check screen with 100 seconds, replaced with multi tag match instead

https://openqa.suse.de/tests/1378824 (won't be triggered until next RT release which is not yet scheduled).

Actions

Also available in: Atom PDF