1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-01 14:45:44 +00:00

Update desktop_printing for Evince -> Papers switch

This test uses a document viewer, so we need to tweak it to work
with the new one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-04-22 14:48:12 -07:00
parent b2aedd5f12
commit eb66c61e8a
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 286,
"ypos": 149,
"height": 18,
"type": "match",
"width": 298
}
],
"properties": [],
"tags": [
"printing_check_sentence"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -44,10 +44,12 @@ sub run {
desktop_vt();
my $desktop = get_var("DESKTOP");
my $relnum = get_release_number;
# Set up some variables to make the test compatible with different desktops.
# Defaults are for the Gnome desktop.
my $editor = "gnome-text-editor";
my $viewer = "evince";
$viewer = "papers" if ($desktop eq "gnome" && $relnum > 42);
my $maximize = "super-up";
my $term = "terminal";
if ($desktop eq "kde") {