From cae7fb52914f96d64b422514818db0d189084699 Mon Sep 17 00:00:00 2001 From: Zaoliang Luo Date: Wed, 9 Oct 2019 11:29:26 +0200 Subject: [PATCH] Correct and extend documentation for lib/y2_module_guitest.pm see https://progress.opensuse.org/issues/57824 --- lib/y2_module_guitest.pm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/lib/y2_module_guitest.pm b/lib/y2_module_guitest.pm index c88b74268a81..35f48b476275 100644 --- a/lib/y2_module_guitest.pm +++ b/lib/y2_module_guitest.pm @@ -1,3 +1,8 @@ +=head1 y2_module_guitest.pm + +This module provides subroutine to launch YaST2 module in GUI test. + +=cut package y2_module_guitest; use base "y2_module_basetest"; use strict; @@ -22,13 +27,15 @@ our %setup_nis_nfs_x11 = ( =head2 launch_yast2_module_x11 - launch_yast2_module_x11([$module] [, target_match => $target_match] [, match_timeout => $match_timeout]); + launch_yast2_module_x11([$module] [, target_match => $target_match] [, match_timeout => $match_timeout]); + +Launch a yast configuration module C<$module> or the yast control center if C<$module> is empty. + +Calls C on C<$target_match>, defaults to C. + +Optional C<$match_timeout> can be specified as a timeout on the C call on C<$target_match>. +C<$maximize_window> option allows to maximize application window using shortcut. -Launch a yast configuration module C<$module> or the yast control center if -C<$module> is empty. Calls C on C<$target_match>, defaults to -C. Optional C<$match_timeout> can be specified as a timeout -on the C call on C<$target_match>. C<$maximize_window> option -allows to maximize application window using shortcut. =cut sub launch_yast2_module_x11 { my ($self, $module, %args) = @_;