Compare commits

...

6 Commits

Author SHA1 Message Date
Adam Williamson 3b3e00f123 flatpak: proxy the connection to flathub
This is intended to reduce the amount of traffic we generate to
flathub, particularly so we can run this test on updates as well
as composes. We have to set a proxy and trust an SSL cert.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:12:15 -07:00
Adam Williamson 3a6e65914a Update kparted runs needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:11:50 -07:00
Adam Williamson b782c44ee9 Update a couple of straggler needles for GTK 4.15
The Japanese one was hidden by the UEFI encryption passphrase
entry bug, and the weather one we only hit when the test runs
at an unusual time.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:10:53 -07:00
Adam Williamson 637a411fd6 Add yet another KDE menu button needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:09:49 -07:00
Adam Williamson 57329a69fc Update some Maps needles for upstream metadata changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:09:11 -07:00
Adam Williamson 3da32a643f Update some loupe needles for GTK 4.15
These are screens that weren't previously reached due to a bug
that was recently fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:08:13 -07:00
30 changed files with 235 additions and 4 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 21,
"type": "match",
"ypos": 610,
"xpos": 353,
"width": 57
}
],
"properties": [],
"tags": [
"loupe_about_credits"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 101,
"ypos": 207,
"width": 186,
"xpos": 419
}
],
"properties": [],
"tags": [
"loupe_about_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"width": 116,
"xpos": 358,
"ypos": 202,
"height": 21,
"type": "match"
},
{
"width": 92,
"xpos": 355,
"height": 19,
"type": "match",
"ypos": 425
}
],
"properties": [],
"tags": [
"loupe_credits_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 16,
"ypos": 409,
"width": 134,
"xpos": 806
}
],
"properties": [],
"tags": [
"loupe_menu_about"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 296,
"height": 24,
"type": "match",
"width": 140,
"xpos": 803
}
],
"properties": [],
"tags": [
"loupe_menu_set_wallpaper"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 20,
"ypos": 263,
"width": 35,
"xpos": 700
}
],
"properties": [],
"tags": [
"loupe_set_wallpaper"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"ypos": 192,
"type": "match",
"height": 60,
"xpos": 376,
"width": 98
},
{
"ypos": 105,
"type": "match",
"height": 36,
"xpos": 456,
"width": 52
}
],
"properties": [],
"tags": [
"maps_info_vilnius"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 415,
"width": 197,
"ypos": 362,
"type": "match",
"height": 162
}
],
"properties": [],
"tags": [
"maps_map_zoomed"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 97,
"type": "match",
"height": 34,
"xpos": 274,
"width": 80
}
],
"properties": [],
"tags": [
"maps_select_poysdorf"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 34,
"type": "match",
"ypos": 97,
"xpos": 274,
"width": 80
}
],
"properties": [],
"tags": [
"maps_select_poysdorf"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 400,
"width": 55,
"ypos": 219,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"weather_report_hourly"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 307,
"height": 21,
"type": "match",
"width": 97,
"xpos": 335
}
],
"properties": [],
"tags": [
"desktop_input_source_japanese_anthy"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 98,
"type": "match",
"height": 18,
"width": 115,
"xpos": 574
}
],
"properties": [],
"tags": [
"kparted_runs"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -0,0 +1,17 @@
{
"area": [
{
"xpos": 20,
"width": 25,
"ypos": 728,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"system_menu_button",
"apps_menu_button"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -10,20 +10,25 @@ sub run {
my $self = shift;
$self->root_console(tty => 3);
# Trust the SSL certificate for the proxy we use to MITM flathub
# to reduce external traffic
# https://pagure.io/fedora-infrastructure/issue/11634
assert_script_run("curl -o /etc/pki/ca-trust/source/anchors/flathub-proxy.crt https://fedorapeople.org/groups/qa/openqa-data/flathub-proxy.crt");
assert_script_run("update-ca-trust");
# On Silverblue, Flathub is not set as a Flatpak remote by default, only when Third Party Repos
# are enabled. To make sure, we have it enabled, we will use the following command to
# add the Flathub repository.
assert_script_run("sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo");
assert_script_run("sudo http_proxy=http://flatpak-cache01.iad2.fedoraproject.org:3128 flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo");
# Check that the Flathub repository has been added into the repositories.
validate_script_output("flatpak remotes", sub { m/flathub/ });
# Now, we can search for an application that only exists in Flathub.
validate_script_output("flatpak search focuswriter", sub { m/org.gottcode.FocusWriter/ });
validate_script_output("http_proxy=http://flatpak-cache01.iad2.fedoraproject.org:3128 flatpak search focuswriter", sub { m/org.gottcode.FocusWriter/ });
# And we can install it
assert_script_run("flatpak install -y org.gottcode.FocusWriter", timeout => 600);
assert_script_run("http_proxy=http://flatpak-cache01.iad2.fedoraproject.org:3128 flatpak install -y org.gottcode.FocusWriter", timeout => 600);
# Check that now the application is listed in the installed flatpaks.
assert_script_run("flatpak list | grep org.gottcode.FocusWriter");

View File

@ -19,7 +19,7 @@ sub run {
assert_script_run("flatpak remote-add --if-not-exists flatpaktest https://lruzicka.fedorapeople.org/flatpaktest/flatpaktest.flatpakrepo", timeout => 120);
# Install the Dummy application.
assert_script_run("flatpak install -y org.flatpak.Dummy", timeout => 600);
assert_script_run("http_proxy=http://flatpak-cache01.iad2.fedoraproject.org:3128 flatpak install -y org.flatpak.Dummy", timeout => 600);
# Check that the application has been installed
assert_script_run("flatpak list | grep org.flatpak.Dummy");