1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-04 02:53:11 +00:00

F39 EOL cleanup: fully convert konversation test to neochat

Until F39 went EOL we were keeping the test called 'konversation'
but it was testing neochat on F40+. Now F39 is EOL, we can fully
turn it into a neochat test and ditch the konversation needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-11-28 13:42:47 -08:00
parent 4afca7ba95
commit 160ba54371
8 changed files with 25 additions and 84 deletions

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 421,
"width": 54,
"type": "match",
"xpos": 533,
"height": 19
}
],
"properties": [],
"tags": [
"konversation_confirm_close"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 370,
"type": "match",
"width": 13,
"xpos": 409,
"height": 19
}
],
"properties": [],
"tags": [
"konversation_connect"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"ypos": 114,
"width": 83,
"height": 15,
"xpos": 516
}
],
"properties": [],
"tags": [
"konversation_runs"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

View File

@ -1,39 +0,0 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Konversation starts.
sub run {
my $self = shift;
my $relnum = get_release_number;
# neochat replaced konversation in F40+; while we're still running
# this test on F39 the test has to handle both...
my $app = $relnum > 39 ? 'neochat' : 'konversation';
# Start the application
menu_launch_type $app;
# Connect to Freenode
assert_and_click "${app}_connect", timeout => 60 if ($app eq 'konversation');
# Check that it is started
assert_screen "${app}_runs";
# Close the application
if ($app eq 'konversation') {
send_key 'alt-f4';
wait_still_screen 2;
assert_and_click "${app}_confirm_close";
}
else {
quit_with_shortcut();
}
}
sub test_flags {
return {};
}
1;
# vim: set sw=4 et:

View File

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