mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
Use the new subroutine on desktop tests.
This commit is contained in:
parent
2d726d4ccb
commit
b1799eb084
@ -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
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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"];
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
@ -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"];
|
||||
|
Loading…
Reference in New Issue
Block a user