1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-23 18:53:08 +00:00

Use the new subroutine on desktop tests.

This commit is contained in:
Lukas Ruzicka 2023-10-02 16:02:11 +02:00 committed by Adam Williamson
parent 2d726d4ccb
commit b1799eb084
15 changed files with 34 additions and 0 deletions

View File

@ -18,6 +18,9 @@ sub run {
# Exit to the GUI
desktop_vt;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("nautilus");
# Check it has started

View File

@ -7,6 +7,8 @@ use utils;
sub run {
my $self = shift;
# Set update notification timestamp
set_update_notification_timestamp();
# Run the application
menu_launch_type("Calculator");
assert_screen("apps_run_calculator");

View File

@ -8,6 +8,8 @@ use utils;
sub run {
my $self = shift;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("characters");

View File

@ -20,6 +20,9 @@ sub run {
# Return back
desktop_vt();
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the Application
menu_launch_type("clocks");
assert_screen ["apps_run_clocks", "grant_access"];

View File

@ -8,6 +8,8 @@ use utils;
sub run {
my $self = shift;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the Application
menu_launch_type("contacts");

View File

@ -30,6 +30,9 @@ sub run {
# Go back to graphics.
desktop_vt();
# Set the update notification_timestamp
set_update_notification_timestamp();
menu_launch_type("disks");
wait_still_screen(3);

View File

@ -18,6 +18,9 @@ sub run {
# Exit the terminal
desktop_vt;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("evince");
# Check that is started

View File

@ -8,6 +8,8 @@ use utils;
sub run {
my $self = shift;
# set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("fonts");

View File

@ -23,6 +23,8 @@ sub run {
script_run("chmod 666 /dev/ttyS0");
# Return to Desktop
desktop_vt();
# Set the update notification timestamp
set_update_notification_timestamp();
# Check that the upper panel shows correct date and time.
assert_screen("panel_datetime");
}

View File

@ -19,6 +19,8 @@ sub run {
# Return to Desktop
desktop_vt();
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("text-editor");
# Check that it started

View File

@ -17,6 +17,8 @@ sub run {
# Exit the terminal
desktop_vt;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("image viewer");
# Check that is started

View File

@ -9,6 +9,8 @@ use utils;
sub run {
my $self = shift;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("Maps");
# Check it has started, or we got the permission prompt

View File

@ -23,6 +23,8 @@ sub run {
# Exit the terminal
desktop_vt;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the application
menu_launch_type("nautilus");
# Check that is started

View File

@ -9,6 +9,8 @@ use utils;
sub run {
my $self = shift;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the Application
menu_launch_type("system monitor");
assert_screen("systemmonitor_runs");

View File

@ -9,6 +9,8 @@ use utils;
sub run {
my $self = shift;
# Set the update notification timestamp
set_update_notification_timestamp();
# Start the Application
menu_launch_type("weather");
assert_screen ["apps_run_weather", "grant_access"];