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.
Category:
Enhancement to existing tests
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).
- Subject changed from [sle][functional] don't wait 100s for pop-up in addon_installation_yast2.pm to [sle][functional] don't wait 100s for pop-up in addon_products_yast2.pm
- Target version set to Milestone 14
- Due date set to 2018-03-13
- Description updated (diff)
- Status changed from New to Workable
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Subject changed from [sle][functional] don't wait 100s for pop-up in addon_products_yast2.pm to [sle][functional][easy] don't wait 100s for pop-up in addon_products_yast2.pm
- Status changed from Workable to In Progress
- Assignee set to jorauch
sles+rt definition:
ADDONS=rt
BOOT_HDD_IMAGE=1
BUILD_SLE=GM
HDD_1=SLES-%VERSION%-%ARCH%-Build%BUILD_SLE%-gnome.qcow2
ISO=SLE-%VERSION%-Server-DVD-%ARCH%-%BUILD_SLE%-DVD1.iso
ISO_5=SLE-%VERSION%-RT-DVD-%ARCH%-Build%BUILD%-Media1.iso
Medium definition:
Distri=sle; Version=12-SP3; Flavor=Server-DVD-RT; Arch=x86_64
ISO_MAXSIZE=4700372992
SCC_REGCODE=<secret>
SCC_REGCODE_RT=<secret>
SCC_REGISTER_GEO=<secret>
SCC_REGISTER_HA=<secret>
SHUTDOWN_NEEDS_AUTH=1
Command for triggering:
/usr/share/openqa/script/client --host https://openqa.suse.de isos post DISTRI=sle VERSION=12-SP3 FLAVOR=Server-DVD-RT ARCH=x86_64 BUILD=0041 BETA_RT=0
- Due date changed from 2018-03-13 to 2018-03-27
- Target version changed from Milestone 14 to Milestone 15
- Subject changed from [sle][functional][easy] don't wait 100s for pop-up in addon_products_yast2.pm to [sle][functional][yast][easy] don't wait 100s for pop-up in addon_products_yast2.pm
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
Also available in: Atom
PDF