1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-06-22 14:31:39 +00:00
os-autoinst-distri-fedora/tests/applications/kwrite/about.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

36 lines
701 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This part tests that About can be displayed.
sub run {
my $self = shift;
# Open the menu.
assert_and_click("kde_mainmenu_help");
wait_still_screen(2);
# Choose the About item.
assert_and_click "kwrite_submenu_about";
wait_still_screen(2);
# Check that the About dialogue was opened.
assert_screen "kwrite_about_shown";
# Click on Credits to move to another screen.
assert_and_click "kwrite_credits";
wait_still_screen(2);
# Check that Credits were shown.
assert_screen "kwrite_credits_shown";
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: