1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-30 09:33:07 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Lukas Ruzicka
38a3fde9bc Softfail when not found. 2023-03-23 17:24:14 +01:00
Lukas Ruzicka
218e346e3c Switch applications from Mahjongg to Inkscape. 2023-03-23 17:20:24 +01:00
2 changed files with 12 additions and 7 deletions

View File

@ -36,8 +36,13 @@ sub run {
# Open the Play category.
assert_and_click("software_category_play");
assert_and_click("software_application_chess");
check_application_information("chess");
if (check_screen("software_application_chess")) {
click_lastmatch();
check_application_information("chess");
}
else {
record_soft_failure("The application was not listed on the first screen.");
}
}
sub test_flags {

View File

@ -20,20 +20,20 @@ sub run {
unless (get_var("SUBVARIANT") eq "Silverblue") {
# Find the application.
find_application("mahjongg");
find_application("inkscape");
# Install the application.
install_application("mahjongg", "rpm");
install_application("inkscape", "rpm");
wait_still_screen(10);
# Check that it is installed.
check_app_installed("mahjongg");
check_app_installed("inkscape");
# Start it from Software.
start_application_via_packagemanager("mahjongg");
start_application_via_packagemanager("inkscape");
# Confirm that it has been installed using CLI tools.
# Switch to console
$self->root_console(tty => 3);
# Check that the rpm is installed.
assert_script_run("rpm -qa gnome-mahjongg");
assert_script_run("rpm -qa inkscape");
}
else {
record_info("Silverblue override", "This test has been skipped because the functionality is not available on Silverblue.");