[openqa-tests/sam/ci] openqa: Fix more Perl issues
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [openqa-tests/sam/ci] openqa: Fix more Perl issues
- Date: Thu, 15 Sep 2022 09:11:52 +0000 (UTC)
commit 961bcd6e18939270a987c6c480380b9aaa832ac2
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Sep 15 10:11:47 2022 +0100
openqa: Fix more Perl issues
tests/gnome_desktop.pm | 2 +-
tests/gnome_welcome.pm | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/tests/gnome_desktop.pm b/tests/gnome_desktop.pm
index 16f459b..eb9af1d 100644
--- a/tests/gnome_desktop.pm
+++ b/tests/gnome_desktop.pm
@@ -4,7 +4,7 @@ use testapi;
sub run {
my $self = shift;
- assert_and_click('gnome_desktop_tour', timeout => 60, 'left');
+ assert_and_click('gnome_desktop_tour', timeout => 60, button => 'left');
assert_screen('gnome_desktop_desktop', 60);
}
diff --git a/tests/gnome_welcome.pm b/tests/gnome_welcome.pm
index d4d7ce6..e78dc9f 100644
--- a/tests/gnome_welcome.pm
+++ b/tests/gnome_welcome.pm
@@ -4,23 +4,23 @@ use testapi;
sub run {
my $self = shift;
- assert_and_click('gnome_firstboot_welcome', timeout => 600, 'left');
- assert_and_click('gnome_firstboot_language', timeout => 10, 'left');
- assert_and_click('gnome_firstboot_privacy', timeout => 10, 'left');
+ assert_and_click('gnome_firstboot_welcome', timeout => 600, button => 'left');
+ assert_and_click('gnome_firstboot_language', timeout => 10, button => 'left');
+ assert_and_click('gnome_firstboot_privacy', timeout => 10, button => 'left');
assert_screen('gnome_firstboot_timezone_1', 30);
type_string('London, East');
- assert_and_click('gnome_firstboot_timezone_2', timeout => 20, 'left');
- assert_and_click('gnome_firstboot_timezone_3', timeout => 20, 'left');
- assert_and_click('gnome_firstboot_accounts', timeout => 10, 'left');
+ assert_and_click('gnome_firstboot_timezone_2', timeout => 20, button => 'left');
+ assert_and_click('gnome_firstboot_timezone_3', timeout => 20, button => 'left');
+ assert_and_click('gnome_firstboot_accounts', timeout => 10, button => 'left');
assert_screen('gnome_firstboot_aboutyou_1', 10);
type_string('testuser');
- assert_and_click('gnome_firstboot_aboutyou_2', timeout => 10, 'left');
+ assert_and_click('gnome_firstboot_aboutyou_2', timeout => 10, button => 'left');
assert_screen('gnome_firstboot_password_1', 10);
type_string('testingtesting123');
send_key('tab');
type_string('testingtesting123');
- assert_and_click('gnome_firstboot_password_2', timeout => 10, 'left');
- assert_and_click('gnome_firstboot_complete', timeout => 10, 'left');
+ assert_and_click('gnome_firstboot_password_2', timeout => 10, button => 'left');
+ assert_and_click('gnome_firstboot_complete', timeout => 10, button => 'left');
}
sub test_flags {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]