From 13ffc18f4adf0ca573da0f9e81dab627d5cb376b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Wed, 11 Oct 2023 00:01:06 +0200 Subject: [PATCH] Test wheels --- tests/install/openqa_webui.pm | 4 ++-- tests/openQA/login.pm | 5 +++-- wheels.yaml | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/install/openqa_webui.pm b/tests/install/openqa_webui.pm index b98847d9..b6fc193b 100644 --- a/tests/install/openqa_webui.pm +++ b/tests/install/openqa_webui.pm @@ -3,6 +3,7 @@ use base 'openQAcoretest'; use testapi; use utils; +use OpenQA::Wheel::OpenQATest::Install qw(bootstrap); sub install_from_repos { diag('following https://github.com/os-autoinst/openQA/blob/master/docs/Installing.asciidoc'); @@ -65,8 +66,7 @@ sub install_containers { } sub install_from_bootstrap { - assert_script_run('zypper --no-cd -n in openQA-bootstrap'); - assert_script_run('skip_suse_specifics=1 skip_suse_tests=1 /usr/share/openqa/script/openqa-bootstrap', timeout => 1200); + bootstrap(settings => [qw(skip_suse_specifics=1 skip_suse_tests=1)]); } sub run { diff --git a/tests/openQA/login.pm b/tests/openQA/login.pm index 7cfd470e..55eff4ae 100644 --- a/tests/openQA/login.pm +++ b/tests/openQA/login.pm @@ -2,9 +2,10 @@ use strict; use base 'openQAcoretest'; use testapi; +use OpenQA::Wheel::OpenQATest::WebUI qw(login); + sub run { - assert_and_click 'openqa-login'; - assert_screen 'openqa-logged-in'; + login; } 1; diff --git a/wheels.yaml b/wheels.yaml index 8a57cde0..ef03a73e 100644 --- a/wheels.yaml +++ b/wheels.yaml @@ -1,3 +1,4 @@ version: v0.1 wheels: - os-autoinst/os-autoinst-wheel-launcher + - perlpunk/openqa-wheels