Adjust fonts/info.pm to look for Adwaita, not Cantarell
Signed-off-by: Adam Williamson <awilliam@redhat.com>
15
needles/gnome/apps/fonts/fonts_adwaita_font-20250320.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 61,
|
||||
"ypos": 335,
|
||||
"width": 154,
|
||||
"height": 162,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_adwaita_font"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/fonts/fonts_adwaita_font-20250320.png
Normal file
After Width: | Height: | Size: 122 KiB |
22
needles/gnome/apps/fonts/fonts_adwaita_info-20250320.json
Normal 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"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/fonts/fonts_adwaita_info-20250320.png
Normal file
After Width: | Height: | Size: 42 KiB |
15
needles/gnome/apps/fonts/fonts_adwaita_shown-20250320.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 1,
|
||||
"ypos": 98,
|
||||
"width": 511,
|
||||
"height": 152,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_adwaita_shown"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/fonts/fonts_adwaita_shown-20250320.png
Normal file
After Width: | Height: | Size: 212 KiB |
15
needles/gnome/apps/fonts/fonts_adwaita_sizes-20250320.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 3,
|
||||
"ypos": 258,
|
||||
"width": 174,
|
||||
"height": 439,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_adwaita_sizes"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/fonts/fonts_adwaita_sizes-20250320.png
Normal file
After Width: | Height: | Size: 52 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_cantarell_font"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 66,
|
||||
"ypos": 597,
|
||||
"width": 143,
|
||||
"height": 146,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 51 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 14,
|
||||
"width": 176,
|
||||
"type": "match",
|
||||
"height": 106,
|
||||
"ypos": 95
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_cantarell_info"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 35 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 95,
|
||||
"xpos": 14,
|
||||
"height": 106,
|
||||
"type": "match",
|
||||
"width": 176
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_cantarell_info"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 147 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 106,
|
||||
"ypos": 96,
|
||||
"width": 172,
|
||||
"type": "match",
|
||||
"xpos": 14
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_cantarell_info"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 24 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_cantarell_info"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 14,
|
||||
"ypos": 96,
|
||||
"width": 176,
|
||||
"height": 106,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 72 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_cantarell_shown"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 2,
|
||||
"ypos": 104,
|
||||
"width": 397,
|
||||
"height": 149,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 114 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"fonts_cantarell_sizes"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 9,
|
||||
"ypos": 262,
|
||||
"width": 98,
|
||||
"height": 438,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 114 KiB |
@ -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 {
|
||||
|