Skip to content
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

Correct and extend documentation for lib/y2_module_guitest.pm #8630

Merged
merged 1 commit into from
Oct 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions lib/y2_module_guitest.pm
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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<assert_screen> on C<$target_match>, defaults to C<yast2-$module-ui>.

Optional C<$match_timeout> can be specified as a timeout on the C<assert_screen> call on C<$target_match>.
C<$maximize_window> option allows to maximize application window using shortcut.
Zaoliang marked this conversation as resolved.
Show resolved Hide resolved

Launch a yast configuration module C<$module> or the yast control center if
C<$module> is empty. Calls C<assert_screen> on C<$target_match>, defaults to
C<yast2-$module-ui>. Optional C<$match_timeout> can be specified as a timeout
on the C<assert_screen> 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) = @_;
Expand Down