mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-16 12:34:32 +00:00
38 lines
708 B
Perl
38 lines
708 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This script checks that screen can be zoomed.
|
|
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# Select the Zoom button
|
|
assert_and_click('acc_select_zoom');
|
|
|
|
# Select the screen area button
|
|
assert_and_click('acc_zoom_screen_area');
|
|
|
|
# Select bottom_half
|
|
assert_and_click('acc_zoom_bottom_half');
|
|
|
|
# Switch on the feature
|
|
assert_and_click('acc_zoom_desktop_zoom');
|
|
|
|
# Check the screen got zoomed
|
|
assert_screen('acc_zoom_screen_zoomed');
|
|
|
|
# Check the screen got split into two
|
|
assert_screen('acc_zoom_screen_split');
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 0, always_rollback => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|
|
|