New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt new ServiceWidget - y2proxy & y2http #5628
Conversation
AFIK dev progresses in parallel regarding sle 15 and leap15, the only doubt that I have is if |
tests/console/yast2_http.pm
Outdated
@@ -102,7 +102,7 @@ sub run { | |||
assert_screen 'http_vitual_host_page'; # check wizard page (4/5) | |||
send_key 'alt-n'; # go to http server wizard (5/5) --summary | |||
# make sure that apache2 server got started when booting | |||
if ((is_sle '<15') || (is_leap)) { | |||
if (is_sle('<15') || is_leap('<15.0')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's alright to keep original version as we execute this test against latest products only. But if we want to be strict it should be <15.1
then, as 15.0 will get these changes as updates only.
d11a1a2
to
759c6b8
Compare
tests/console/yast2_http.pm
Outdated
send_key_until_needlematch 'yast2_ncurses_service_start_widget_start_on_boot', 'up'; | ||
send_key 'ret'; | ||
assert_screen 'yast2_ncurses_service_start_widget_check_start_on_boot'; | ||
$self->SUPER::assert_service_widget(after_writing_conf => 'alt-w', after_reboot => 'alt-e'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need SUPER
here, as you don't override method in inherited class.
tests/console/yast2_proxy.pm
Outdated
send_key_until_needlematch 'yast2_ncurses_service_start_widget_start_on_boot', 'up'; | ||
send_key 'ret'; | ||
assert_screen 'yast2_ncurses_service_start_widget_check_start_on_boot'; | ||
$self->SUPER::assert_service_widget; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
759c6b8
to
8efb517
Compare
Adapt new ServiceWidget - yast2_proxy and yast2_http taking into account that Leap 15.1 recently received it as we can see here. I also would like to provide some refactor.