Actions
action #70507
closedcoordination #36712: [saga] Use YaST specific framework for GUI testing
[y] Add support for reading values from YDateField and YTimeField
Start date:
2020-08-25
Due date:
2020-09-08
% Done:
0%
Estimated time:
5.00 h
Description
While implementing support for the YDateField and YTimeField widgets I have missed that value is not stored as value
property and hence not provided by the libyui REST API.
So as of now, it's only possible to set values.
Server-side: https://github.com/libyui/libyui-rest-api
Client-side: https://github.com/qa-sle-yast/libyui_client
Scope of this ticket is implement this for both: server and client side.
Updated by riafarov over 4 years ago
- Description updated (diff)
- Status changed from New to Workable
- Estimated time set to 5.00 h
Updated by JERiveraMoya over 4 years ago
- Status changed from Workable to In Progress
Updated by JERiveraMoya over 4 years ago
- Status changed from In Progress to Feedback
PR client-side: Add support to get value for YTimeField and YDateField
PR server-side: Serialize value for YDateField and YTimeField
Updated by JERiveraMoya over 4 years ago
- Status changed from Feedback to Resolved
In case it could be of some help (when not using Tumbleweed), I needed a the following packages to make it work in Leap 15.2:
make -f Makefile.cvs
zypper in cmake
zypper in libyui-devel
zypper addrepo https://download.opensuse.org/repositories/devel:libraries:c_c++/openSUSE_Leap_15.2/devel:libraries:c_c++.repo
zypper refresh
zypper install jsoncpp
make -C build/ install
zypper ar https://download.opensuse.org/repositories/YaST:/Head/openSUSE_Leap_15.2/YaST:Head.repo
zypper ref
zypper in libyui-qt13
sudo zypper dup --allow-vendor-change --from YaST_Head
sudo zypper rm libyui11
zypper in yast2-ycp-ui-bindings-devel
git clone https://github.com/libyui/libyui-ncurses-rest-api
git clone https://github.com/libyui/libyui-qt-rest-api
zypper in libQt5Core-devel
zypper in libQt5Gui-devel
zypper in libQt5Widgets-devel
zypper in libQt5Svg-devel
zypper in libqt5-qtx11extras-devel
zypper in libyui-qt libyui-qt-devel
su -c /bin/sh -c 'YUI_HTTP_PORT=9999 /sbin/yast2 examples/DateField1.rb --qt
su -c /bin/sh -c 'YUI_HTTP_PORT=9999 /sbin/yast2 examples/DateField1.rb --ncurses
Actions