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.
Updated by lkocman about 2 years ago
- Subject changed from yast2_dns_server - UI has changed, do not start is now option in listbox needs tweak of test to leap15.5 yast2_dns_server - UI has changed, do not start is now option in listbox needs tweak of test
Updated by maritawerner about 2 years ago
- Project changed from openQA Tests to qe-yam
- Category deleted (
Bugs in existing tests)
Updated by rainerkoenig about 2 years ago
- Subject changed from leap15.5 yast2_dns_server - UI has changed, do not start is now option in listbox needs tweak of test to yast2_dns_server - UI has changed, do not start is now option in listbox needs tweak of test
- Description updated (diff)
Updated by JERiveraMoya about 2 years ago
- Tags set to qe-yast-refinement
- Subject changed from yast2_dns_server - UI has changed, do not start is now option in listbox needs tweak of test to Create new test module which enable libyui-rest-api for yast2_dns_server
- Description updated (diff)
- Target version set to Current
Updated by JERiveraMoya about 2 years ago
- Tags deleted (
qe-yast-refinement) - Status changed from New to Workable
- Priority changed from Low to Normal
sporadic, but it keeps happening.
Updated by JERiveraMoya about 2 years ago
- Status changed from Workable to In Progress
Updated by leli almost 2 years ago
PR submitted, https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15931
I haven't found a correct folder for the test, it is a ncurse test so shouldn't in yast2_gui, but there is the old yast2_dns_server in console, and I don't think yast2_cmd is the suitable folder for it. So please help for this during the review.
Updated by leli almost 2 years ago
- Status changed from In Progress to Resolved
PR merged, I will keep an eye on the next build of opensuse.
Updated by JERiveraMoya over 1 year ago
- Related to action #117403: [qe-yam] UI change test fails in yast2_dns_server added
Updated by JERiveraMoya over 1 year ago
- Related to action #119455: [y][ppc64le] test fails in yast2_dns_server as "do not start on boot" is not selected in pull down menu added