action #116500
closedcoordination #121885: [epic] Enable libyui-rest-api for YaST modules
Create new test module which enable libyui-rest-api for yast2_dns_server
Description
Observation¶
openQA test in scenario opensuse-15.5-DVD-aarch64-yast2_ncurses@aarch64 fails-
- Problem on Leap 15.5: yast2_dns_server
- Problem on SLE 15 SP5: yast2_dns_server
Fails since...
Apparently current code cannot work:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/yast2_widget_utils.pm#L78
So basically when it works, like in TW is because we are losing the up key, afir there was a modification for send_key_until_needlematch
which force always to send the key until needle match, when before if the needle match it wasn't sending any key. Nevertheless, rather than fighting with needles we can create new test module using libyui-rest-api.
Acceptance criteria¶
AC1: Create new test module which does similar actions and uses libyui-rest-api.
AC2: Enable this test modules in all the places where is failing indicated in this ticket.
AC3: When designing Pages and Controllers follows existing code convention.
AC4: For test design, open module, do some action, close module and validate via command line (do not validate with libyui the screen like we do with needling).
AC5: Encapsulate functionality to change service from #113492 so we can reuse the code for this bits.
Additional info¶
Problem was first reported for Leap 15.5, but is also occurring on the latest SLE 15 SP5 build.
We will be mapping screens, creating pages and controllers in similar fashion than
#113492
Notice that design is based in doing certain actions in the UI with libyui (without checking the screens with libyui rest api, just the navigation) and then close the module and do the validation with command line. It is very similar to the behavior of this existing test module.