mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-03 18:43:08 +00:00
51 lines
1.0 KiB
Perl
51 lines
1.0 KiB
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This is to check up the Multitasking tab.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
|
|
assert_and_click("settings_menu_multitasking");
|
|
|
|
# Set workspace to a fixed number
|
|
assert_and_click("settings_multitask_fixed_workspaces");
|
|
|
|
# Check that the number of workspace is fix
|
|
send_key("super");
|
|
assert_screen("settings_multitask_workspaces_count");
|
|
|
|
# Start Clocks
|
|
type_safely("clocks");
|
|
send_key("ret");
|
|
assert_screen("apps_run_clocks");
|
|
|
|
# Switch to another workspace and start Terminal there.
|
|
send_key("ctrl-alt-right");
|
|
sleep 2;
|
|
send_key("super");
|
|
wait_still_screen(2);
|
|
type_safely("terminal");
|
|
send_key("ret");
|
|
assert_screen("apps_run_terminal");
|
|
|
|
# Now check you can switch among all apps.
|
|
hold_key("alt");
|
|
send_key("tab");
|
|
assert_screen("settings_multitask_apps_to_switch");
|
|
relese_key("alt");
|
|
|
|
|
|
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1, always_rollback => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|