Add tests for Papers to replace Evince tests.
This test suite replaces the Evince test suite and adds altered scripts and needles to go with the Papers applications. At the same time, it provides the same level of functionality and testability as the original evince test. Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/377
@ -242,7 +242,7 @@ for selection in ("hide", "maximize", "restore"):
|
||||
testtags.append(f"calculator_context_{selection}")
|
||||
# After the change to menu_launch_type, applications should be whitelisted here
|
||||
# to prevent the unused needles warning in case of apps_run_<application>.
|
||||
for app in ("evince", "focuswriter", "gvim"):
|
||||
for app in ("focuswriter", "gvim"):
|
||||
testtags.append(f"apps_run_{app}")
|
||||
# Needles that only originate from menu_launch_type and since they only occur
|
||||
# in a variable, we need to whitelist them here, otherwise the script will
|
||||
@ -253,6 +253,8 @@ runapps = ("seahorse", "kwrite", "tuxracer", "akregator", "ark", "discover", "do
|
||||
"kolourpaint", "korganizer", "characters", "tux_racer")
|
||||
for app in runapps:
|
||||
testtags.append(f"apps_run_{app}")
|
||||
for zoom in ('papers_zoom_add', 'papers_zoom_subtract'):
|
||||
testtags.append(zoom)
|
||||
|
||||
# retcode tracker
|
||||
ret = 0
|
||||
|
@ -1,16 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 131,
|
||||
"type": "match",
|
||||
"width": 37,
|
||||
"xpos": 224,
|
||||
"ypos": 92
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"apps_run_dviewer",
|
||||
"apps_run_evince"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 10 KiB |
@ -1,23 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 112,
|
||||
"xpos": 235,
|
||||
"type": "match",
|
||||
"width": 42,
|
||||
"height": 131
|
||||
},
|
||||
{
|
||||
"xpos": 444,
|
||||
"ypos": 113,
|
||||
"width": 136,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"apps_run_dviewer",
|
||||
"apps_run_evince"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 19 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 445,
|
||||
"ypos": 287,
|
||||
"type": "match",
|
||||
"width": 133,
|
||||
"height": 146
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_about_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 63 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"ypos": 43,
|
||||
"height": 26,
|
||||
"width": 25,
|
||||
"xpos": 150
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_add_annotation"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 82 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 600,
|
||||
"type": "match",
|
||||
"height": 32,
|
||||
"width": 30,
|
||||
"xpos": 373
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_annotation_placed"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 88 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 161,
|
||||
"height": 45,
|
||||
"xpos": 345,
|
||||
"ypos": 584
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_annotation_removed"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 191 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 584,
|
||||
"type": "match",
|
||||
"height": 45,
|
||||
"xpos": 345,
|
||||
"width": 161
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_annotation_removed"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 88 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 819,
|
||||
"ypos": 259,
|
||||
"width": 27,
|
||||
"height": 70,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_content_rotated_once"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 134 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 412,
|
||||
"xpos": 420,
|
||||
"type": "match",
|
||||
"width": 73,
|
||||
"height": 56
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_credits_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 61 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 630,
|
||||
"ypos": 550,
|
||||
"width": 349,
|
||||
"height": 56,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_document_zoom_200"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 44 KiB |
@ -1,22 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_dual_mode"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 322,
|
||||
"ypos": 383,
|
||||
"width": 88,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 703,
|
||||
"ypos": 428,
|
||||
"width": 99,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 96 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 16,
|
||||
"type": "match",
|
||||
"width": 68,
|
||||
"xpos": 295,
|
||||
"ypos": 277
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_file_select_pdf"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 395 KiB |
Before Width: | Height: | Size: 270 KiB |
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 408 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 324,
|
||||
"height": 16,
|
||||
"type": "match",
|
||||
"width": 68,
|
||||
"xpos": 258
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_file_select_pdf"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 496 KiB |
Before Width: | Height: | Size: 495 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 16,
|
||||
"type": "match",
|
||||
"width": 68,
|
||||
"xpos": 189,
|
||||
"ypos": 156
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_file_select_pdf"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 36 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 371,
|
||||
"xpos": 68,
|
||||
"type": "match",
|
||||
"height": 42,
|
||||
"ypos": 109
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_help_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 60 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 107,
|
||||
"xpos": 64,
|
||||
"type": "match",
|
||||
"width": 347,
|
||||
"height": 42
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_help_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 136 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 42,
|
||||
"width": 393,
|
||||
"type": "match",
|
||||
"ypos": 109,
|
||||
"xpos": 68
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_help_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 63 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"ypos": 107,
|
||||
"xpos": 63,
|
||||
"height": 42,
|
||||
"width": 373
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_help_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 152 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 68,
|
||||
"ypos": 109,
|
||||
"width": 371,
|
||||
"height": 42,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_help_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 64 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 20,
|
||||
"width": 40,
|
||||
"type": "match",
|
||||
"xpos": 805,
|
||||
"ypos": 335
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_menu_dual"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 240 KiB |
Before Width: | Height: | Size: 109 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 803,
|
||||
"ypos": 545,
|
||||
"type": "match",
|
||||
"width": 40,
|
||||
"height": 20
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_menu_help"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 64 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"ypos": 486,
|
||||
"xpos": 802,
|
||||
"height": 18,
|
||||
"width": 75
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_menu_properties"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 117 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 20,
|
||||
"width": 73,
|
||||
"type": "match",
|
||||
"ypos": 243,
|
||||
"xpos": 803
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_menu_saveas"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 106 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 243,
|
||||
"type": "match",
|
||||
"xpos": 784,
|
||||
"width": 68,
|
||||
"height": 20
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_menu_saveas"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 115 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 117 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_night_mode"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 430,
|
||||
"ypos": 315,
|
||||
"width": 332,
|
||||
"height": 35,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 97 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 39,
|
||||
"height": 20,
|
||||
"ypos": 114,
|
||||
"xpos": 234,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_open_file_dialog"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 356 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 20,
|
||||
"type": "match",
|
||||
"width": 33,
|
||||
"xpos": 397,
|
||||
"ypos": 91
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_open_file_dialog"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 152 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 110,
|
||||
"height": 44,
|
||||
"ypos": 246,
|
||||
"xpos": 429,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_properties_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 99 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_properties_shown"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 396,
|
||||
"ypos": 349,
|
||||
"width": 110,
|
||||
"height": 44,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 101 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 417,
|
||||
"ypos": 562,
|
||||
"type": "match",
|
||||
"width": 142,
|
||||
"height": 18
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_remove_annotation"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 196 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_remove_annotation"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 414,
|
||||
"ypos": 543,
|
||||
"width": 131,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 101 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 897,
|
||||
"width": 26,
|
||||
"type": "match",
|
||||
"ypos": 42,
|
||||
"height": 24
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_search_button"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 72 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 585,
|
||||
"type": "match",
|
||||
"height": 30,
|
||||
"width": 43,
|
||||
"xpos": 352
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_select_annotation_place"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 110 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 20,
|
||||
"width": 65,
|
||||
"type": "match",
|
||||
"ypos": 118,
|
||||
"xpos": 821
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_select_zoom_fitwidth"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 99 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 821,
|
||||
"ypos": 118,
|
||||
"width": 65,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_select_zoom_fitwidth"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 108 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 33,
|
||||
"width": 36,
|
||||
"type": "match",
|
||||
"ypos": 702,
|
||||
"xpos": 495
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_shortcuts_second"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 51 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 495,
|
||||
"ypos": 702,
|
||||
"width": 36,
|
||||
"height": 33,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_shortcuts_second"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 59 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 25,
|
||||
"width": 210,
|
||||
"type": "match",
|
||||
"ypos": 112,
|
||||
"xpos": 594
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_shortcuts_second_shown"
|
||||
]
|
||||
}
|