Hello YaST Team,
My name is Dmitriy Zakharov, I work as QA engineer for OpenText.
Our team is looking for an existing framework/tools that will allow us to automate testing our yast modules. While researching we came across libyui test framework that you have developed. We’d like to thank you for the framework, the team
really likes it since everything can be done via REST API. When working on proof-of-concept we were able to automate few tests when starting yast module(e.g.
sudo Y2TEST=1 YUI_HTTP_PORT=9999 yast2 host). However, when we tried to start yast in main mode without specifying any module (e.g. sudo Y2TEST=1 YUI_HTTP_PORT=9999 yast2) we could not navigate menu. We are using select action but that doesn’t
seem to work. Please see screenshots below for more details.
Screenshot 1 – our yast main menu
yast started without module: sudo Y2TEST=1 YUI_HTTP_PORT=9999 yast2 and no action performed yet
Screenshot 2 – view after POST with select action
REST call to select “Configure Time/Date” in the left box:
curl -X POST 'http://localhost:9999/v1/widgets?id=groups&action=select&value=Configure%20Time/Date'
Note “Configure Time/Date” in the left box is kind of highlighted but right box still shows items for “Configure Networking” rather than for “Configure Time/Date”. Calling GET returns “Configure Time/Date” label as selected.
Questions we have are:
Thank you,
Dmitriy Zakharov