1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-04-02 01:51:35 +00:00

Adjust fonts/info.pm to look for Adwaita, not Cantarell

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-03-19 17:58:30 -07:00
parent 0882db9aa8
commit f474c9a9ed
23 changed files with 73 additions and 111 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 61,
"ypos": 335,
"width": 154,
"height": 162,
"type": "match"
}
],
"properties": [],
"tags": [
"fonts_adwaita_font"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"xpos": 20,
"ypos": 101,
"width": 145,
"height": 16,
"type": "match"
},
{
"xpos": 18,
"ypos": 142,
"width": 144,
"height": 40,
"type": "match"
}
],
"properties": [],
"tags": [
"fonts_adwaita_info"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 1,
"ypos": 98,
"width": 511,
"height": 152,
"type": "match"
}
],
"properties": [],
"tags": [
"fonts_adwaita_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 3,
"ypos": 258,
"width": 174,
"height": 439,
"type": "match"
}
],
"properties": [],
"tags": [
"fonts_adwaita_sizes"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"fonts_cantarell_font"
],
"area": [
{
"xpos": 66,
"ypos": 597,
"width": 143,
"height": 146,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 14,
"width": 176,
"type": "match",
"height": 106,
"ypos": 95
}
],
"properties": [],
"tags": [
"fonts_cantarell_info"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 95,
"xpos": 14,
"height": 106,
"type": "match",
"width": 176
}
],
"properties": [],
"tags": [
"fonts_cantarell_info"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 106,
"ypos": 96,
"width": 172,
"type": "match",
"xpos": 14
}
],
"properties": [],
"tags": [
"fonts_cantarell_info"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"fonts_cantarell_info"
],
"area": [
{
"xpos": 14,
"ypos": 96,
"width": 176,
"height": 106,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"fonts_cantarell_shown"
],
"area": [
{
"xpos": 2,
"ypos": 104,
"width": 397,
"height": 149,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"fonts_cantarell_sizes"
],
"area": [
{
"xpos": 9,
"ypos": 262,
"width": 98,
"height": 438,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

View File

@ -3,23 +3,23 @@ use strict;
use testapi;
use utils;
# This script will show info for the Cantarell font
# This script will show info for the Adwaita Sans font
# that should be the among those installed by default.
sub run {
my $self = shift;
# Send the TAB key until the Cantarell font is found.
send_key_until_needlematch("fonts_cantarell_font", "tab", 30, 1);
# Send the TAB key until the Adwaita Sans font is found.
send_key_until_needlematch("fonts_adwaita_font", "tab", 30, 1);
# Click on the icon
click_lastmatch();
# Check that the correct font is shown.
assert_screen("fonts_cantarell_shown");
assert_screen("fonts_adwaita_shown");
# Check that various sizes are shown.
assert_screen("fonts_cantarell_sizes");
assert_screen("fonts_adwaita_sizes");
# Click on Info to get more information.
assert_and_click("gnome_button_info");
# Check for various information on that page.
assert_screen("fonts_cantarell_info");
assert_screen("fonts_adwaita_info");
}
sub test_flags {