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:
parent
b2aedd5f12
commit
eb66c61e8a
15
needles/gnome/printing_check_sentence-papers-20250422.json
Normal file
15
needles/gnome/printing_check_sentence-papers-20250422.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 286,
|
||||
"ypos": 149,
|
||||
"height": 18,
|
||||
"type": "match",
|
||||
"width": 298
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"printing_check_sentence"
|
||||
]
|
||||
}
|
BIN
needles/gnome/printing_check_sentence-papers-20250422.png
Normal file
BIN
needles/gnome/printing_check_sentence-papers-20250422.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user