mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-27 16:13:09 +00:00
39 lines
865 B
Perl
39 lines
865 B
Perl
|
use base "installedtest";
|
||
|
use strict;
|
||
|
use testapi;
|
||
|
use utils;
|
||
|
|
||
|
# We will start two applications and save the progress.
|
||
|
|
||
|
sub run {
|
||
|
my $self = shift;
|
||
|
# Let us wait here for a couple of seconds to give the VM time to settle.
|
||
|
# Starting right over might result in erroneous behavior.
|
||
|
sleep(5);
|
||
|
# Start Firefox
|
||
|
menu_launch_type("nautilus");
|
||
|
assert_screen "apps_run_files", 45;
|
||
|
# let it settle a bit
|
||
|
wait_still_screen(stilltime => 5, similarity_level => 45);
|
||
|
send_key("super-up");
|
||
|
assert_screen("navigation_files_fullscreen");
|
||
|
|
||
|
# Start Gnome Text Editor
|
||
|
menu_launch_type("text-editor");
|
||
|
assert_screen("apps_run_editor");
|
||
|
wait_still_screen(2);
|
||
|
send_key("super-up");
|
||
|
assert_screen("navigation_editor_fullscreen");
|
||
|
}
|
||
|
|
||
|
sub test_flags {
|
||
|
return {fatal => 1, milestone => 1};
|
||
|
}
|
||
|
|
||
|
1;
|
||
|
|
||
|
# vim: set sw=4 et:
|
||
|
|
||
|
|
||
|
|