1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

KDE apps: replace Calligra with LibreOffice

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-03-03 17:27:39 -08:00
parent 42d41a9419
commit 4758782d56
10 changed files with 79 additions and 32 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 619,
"ypos": 77,
"width": 19,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"lcalc_runs"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 208,
"ypos": 205,
"width": 144,
"height": 74,
"type": "match"
}
],
"properties": [],
"tags": [
"limpress_runs"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 510,
"ypos": 114,
"width": 88,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"lwriter_runs"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -1,25 +0,0 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Calligra Words starts.
sub run {
my $self = shift;
menu_launch_type 'calligra words';
# Check that it is started
assert_screen 'cwords_runs';
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et:

View File

@ -3,13 +3,14 @@ use strict;
use testapi;
use utils;
# This test checks that Calligra Sheets starts.
# This test checks that LibreOffice Calc starts.
sub run {
my $self = shift;
menu_launch_type 'calligra sheets';
# Start the application
menu_launch_type 'libreoffice calc';
# Check that it is started
assert_screen 'csheets_runs';
assert_screen 'lcalc_runs';
# Close the application
quit_with_shortcut();
}

View File

@ -0,0 +1,26 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that LibreOffice Impress starts.
sub run {
my $self = shift;
# Start the application
menu_launch_type 'libreoffice impress';
# Check that it is started
assert_screen 'limpress_runs';
# Close the template chooser, then the application
send_key 'alt-f4';
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et:

View File

@ -3,14 +3,14 @@ use strict;
use testapi;
use utils;
# This test checks that Calligra Stage starts.
# This test checks that LibreOffice Writer starts.
sub run {
my $self = shift;
menu_launch_type 'calligra stage';
# Start the application
menu_launch_type 'libreoffice writer';
# Check that it is started
assert_screen 'cstage_runs';
# Close the application
assert_screen 'lwriter_runs';
quit_with_shortcut();
}