[gnome-build-meta/sam/openqa-fixes: 5/5] openqa: Use keyword arguments consistently
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/sam/openqa-fixes: 5/5] openqa: Use keyword arguments consistently
- Date: Wed, 7 Sep 2022 11:56:17 +0000 (UTC)
commit 44e2ff54bb728c20fd5ef6fe5c5f447ada988a2f
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Wed Sep 7 13:26:19 2022 +0200
openqa: Use keyword arguments consistently
Fixes the following error:
Test died: Odd name/value argument for subroutine 'testapi::assert_and_click' at
/tests/tests/gnome_install.pm line 7.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1754>
openqa/tests/gnome_install.pm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/openqa/tests/gnome_install.pm b/openqa/tests/gnome_install.pm
index d6c354768..0b8a6006d 100644
--- a/openqa/tests/gnome_install.pm
+++ b/openqa/tests/gnome_install.pm
@@ -4,11 +4,11 @@ use testapi;
sub run {
my $self = shift;
- assert_and_click('gnome_install_1', timeout => 120, 'left');
- assert_and_click('gnome_install_disk', 'left', 10);
- assert_and_click('gnome_install_disk2', 'left', 10);
- assert_screen('gnome_install_reformatting1', 120);
- assert_screen('gnome_install_complete', 120);
+ assert_and_click('gnome_install_1', timeout => 120, button => 'left');
+ assert_and_click('gnome_install_disk', timeout => 10, button => 'left');
+ assert_and_click('gnome_install_disk2', timeout => 10, button => 'left');
+ assert_screen('gnome_install_reformatting1', timeout => 120);
+ assert_screen('gnome_install_complete', timeout => 120);
eject_cd;
power('reset');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]