mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
Update Konsole runs needle, maximize Konsole in desktop_terminal
The needle match seems to have changed when bug #1957858 showed up, but it's actually just a text rendering change in the window title, it's not exactly caused by the tiny window. So not marking as a workaround needle. Maximizing the window makes the test work faster when we hit that bug, as type_safely needs to be able to see the results of its typing. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0b55fda6f5
commit
486e5d8993
16
needles/kde/apps/konsole_runs-smolkde-20210602.json
Normal file
16
needles/kde/apps/konsole_runs-smolkde-20210602.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 8,
|
||||||
|
"type": "match",
|
||||||
|
"xpos": 234,
|
||||||
|
"height": 15,
|
||||||
|
"width": 54
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"konsole_runs",
|
||||||
|
"apps_run_terminal"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/konsole_runs-smolkde-20210602.png
Normal file
BIN
needles/kde/apps/konsole_runs-smolkde-20210602.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 900 KiB |
@ -4,10 +4,15 @@ use testapi;
|
|||||||
use utils;
|
use utils;
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self=shift;
|
my $self = shift;
|
||||||
|
my $relnum = get_release_number;
|
||||||
|
my $desktop = get_var("DESKTOP");
|
||||||
check_desktop;
|
check_desktop;
|
||||||
menu_launch_type('terminal');
|
menu_launch_type('terminal');
|
||||||
assert_screen "apps_run_terminal";
|
assert_screen "apps_run_terminal";
|
||||||
|
# FIXME: workaround for RHBZ#1957858 - test actually works without
|
||||||
|
# this, but very slowly as characters don't appear on screen
|
||||||
|
send_key "alt-f11" if ($relnum > 33 && $desktop eq "kde");
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
# need to be root
|
# need to be root
|
||||||
my $rootpass = get_var("ROOT_PASSWORD", "weakpassword");
|
my $rootpass = get_var("ROOT_PASSWORD", "weakpassword");
|
||||||
|
Loading…
Reference in New Issue
Block a user