1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Rationalize GNOME credit button handling

We had a ton of needles all covering something very similar
(press a "Credits" button in a GNOME app). There are about four
real variations: old-style regular face white-on-black (eog),
old-style regular face (nautilus and evince before recent
libadwaita ports), old-style bold face (GTE and Clocks before
new libadwaita), and new-style (everything that's been ported
to use libadwaita for its About page). Let's just rationalize
it down to those, using the same needle tag for all of them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-08-08 18:09:59 -07:00
parent 9e0ec721a6
commit e2e8fcadd4
20 changed files with 10 additions and 70 deletions

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 546,
"ypos": 224,
"width": 53,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"evince_about_credits"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 484,
"ypos": 243,
"width": 54,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"gte_about_credits"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 18,
"ypos": 243,
"type": "match",
"xpos": 484,
"width": 54
}
],
"properties": [],
"tags": [
"gte_about_credits"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 631,
"height": 18,
"type": "match",
"width": 54,
"xpos": 355
}
],
"properties": [],
"tags": [
"gte_about_credits"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -10,6 +10,6 @@
],
"properties": [],
"tags": [
"eog_about_credits"
"gnome_button_credits"
]
}
}

View File

Before

Width:  |  Height:  |  Size: 406 KiB

After

Width:  |  Height:  |  Size: 406 KiB

View File

@ -10,6 +10,6 @@
],
"properties": [],
"tags": [
"nautilus_about_credits"
"gnome_button_credits"
]
}
}

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -10,6 +10,6 @@
],
"properties": [],
"tags": [
"nautilus_about_credits"
"gnome_button_credits"
]
}
}

View File

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -16,7 +16,7 @@ sub run {
wait_still_screen(3);
assert_screen("eog_about_shown");
# Click on Credits
assert_and_click("eog_about_credits");
assert_and_click("gnome_button_credits");
wait_still_screen(2);
assert_screen("eog_credits_shown");
}

View File

@ -19,7 +19,7 @@ sub run {
assert_screen("evince_about_shown");
# Click on Credits button to see the second part of the dialogue.
assert_and_click("evince_about_credits", button => "left", timeout => 30);
assert_and_click("gnome_button_credits", button => "left", timeout => 30);
# Check that Credits are accessible and visible, too.
assert_screen("evince_credits_shown");

View File

@ -19,7 +19,7 @@ sub run {
assert_screen "gte_about_shown";
# Click on Credits to move to another screen.
assert_and_click "gte_about_credits";
assert_and_click "gnome_button_credits";
wait_still_screen(2);
# Check that Credits were shown.

View File

@ -19,7 +19,7 @@ sub run {
assert_screen("nautilus_about_show");
# Click on Credits button to see the second part of the dialogue.
assert_and_click("nautilus_about_credits", button => "left", timeout => 30);
assert_and_click("gnome_button_credits", button => "left", timeout => 30);
# Check that Credits are accessible and visible, too.
assert_screen("nautilus_credits_shown");