1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-06-24 07:21:43 +00:00
os-autoinst-distri-fedora/tests/applications/kwrite/line_numbering.pm
Lukáš Růžička d240c08a70 Create a test suite for KWrite
This PR creates a basic test suite for KWrite, the KDE text editor.
Its steps follow the Gnome text editor test case to provide the same
level of checking.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/363
2025-03-06 06:59:57 +00: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: