1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00
os-autoinst-distri-fedora/tests/applications/kwrite/line_numbering.pm
2024-03-28 13:42:18 +01:00

28 lines
579 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This part tests that we can do line numbering,
# otherwise the rest of the Gnome things are not
# supported. However, we may add more in the future.
sub run {
my $self = shift;
# Switches off line numbering (numbered by default).
assert_and_click("kwrite_lines_numbered", button => "right");
wait_still_screen(1);
assert_and_click "kwrite_display_line_numbers";
assert_screen "kwrite_lines_numbered_off";
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: