Project

General

Profile

Actions

action #116500

closed

coordination #121885: [epic] Enable libyui-rest-api for YaST modules

Create new test module which enable libyui-rest-api for yast2_dns_server

Added by lkocman over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2022-09-13
Due date:
% Done:

0%

Estimated time:

Description

Observation

openQA test in scenario opensuse-15.5-DVD-aarch64-yast2_ncurses@aarch64 fails-

Fails since...

  • Fails since (at least) Build 277.3 on Leap 15.5
  • Fails since Build 24.1 on SLE 15 SP5

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.


Related issues 2 (0 open2 closed)

Related to qe-yam - action #117403: [qe-yam] UI change test fails in yast2_dns_serverRejected2022-09-29

Actions
Related to qe-yam - action #119455: [y][ppc64le] test fails in yast2_dns_server as "do not start on boot" is not selected in pull down menuResolved2022-10-26

Actions
Actions

Also available in: Atom PDF