1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

Add to templates and do set up

This commit is contained in:
Lukáš Růžička 2024-04-03 12:50:26 +02:00
parent 6c9b3ec8c9
commit ed59e69b3f
2 changed files with 21 additions and 12 deletions

View File

@ -2290,6 +2290,17 @@
"WORKER_CLASS": "tap" "WORKER_CLASS": "tap"
} }
}, },
"gwenview": {
"profiles": {
"fedora-KDE-live-iso-x86_64-*-64bit": 42
},
"settings": {
"BOOTFROM": "c",
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
"POSTINSTALL_PATH": "tests/applications/gwenview",
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
}
},
"kcalc": { "kcalc": {
"profiles": { "profiles": {
"fedora-KDE-live-iso-x86_64-*-64bit": 42 "fedora-KDE-live-iso-x86_64-*-64bit": 42

View File

@ -3,8 +3,8 @@ use strict;
use testapi; use testapi;
use utils; use utils;
# This script will download the test data for EoG, start the application, # This script will download the test data for Gwenview, start the application,
# and set a milestone as a starting point for the other Loupe tests. # and set a milestone as a starting point for the other Gwenview tests.
sub run { sub run {
my $self = shift; my $self = shift;
@ -17,30 +17,28 @@ sub run {
# Exit the terminal # Exit the terminal
desktop_vt; desktop_vt;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application # Start the application
menu_launch_type("image viewer"); menu_launch_type("gwenview");
# Check that is started # Check that is started
assert_screen 'apps_run_imageviewer'; assert_screen 'imageviewer_runs';
# Fullsize the Loupe window. # Fullsize the application window.
send_key("super-up"); send_key("super-pgup");
# Open the test file to create a starting point for the other EoG tests. # Open the test file to create a starting point for the other tests.
send_key("ctrl-o"); send_key("ctrl-o");
# Open the Pictures folder. # Open the Pictures folder.
assert_and_click("gnome_dirs_pictures", button => "left", timeout => 30); assert_and_click("gwen_pictures_directory", button => "left", timeout => 30);
# Select the image.jpg file. # Select the image.jpg file.
assert_and_click("loupe_file_select_jpg", button => "left", timeout => 30); assert_and_click("gwen_file_select_jpg", button => "left", timeout => 30);
# Hit enter to open it. # Hit enter to open it.
send_key("ret"); send_key("ret");
# Check that the file has been successfully opened. # Check that the file has been successfully opened.
assert_screen("loupe_image_default"); assert_screen("gwen_image_default");
} }
sub test_flags { sub test_flags {