Compare commits
1 Commits
2d4ae597f0
...
e2d9c92a3c
Author | SHA1 | Date | |
---|---|---|---|
|
e2d9c92a3c |
24
lib/utils.pm
@ -473,9 +473,10 @@ sub get_setup_repos_script {
|
|||||||
sub get_workarounds {
|
sub get_workarounds {
|
||||||
my $version = shift || get_var("VERSION");
|
my $version = shift || get_var("VERSION");
|
||||||
my %workarounds = (
|
my %workarounds = (
|
||||||
|
"39" => [],
|
||||||
"40" => [],
|
"40" => [],
|
||||||
"41" => [],
|
"41" => [],
|
||||||
"42" => ["FEDORA-2024-3588cd5a27", "FEDORA-2024-1e10898d68"],
|
"42" => ["FEDORA-2024-b3e53a2b43"],
|
||||||
"eln" => [],
|
"eln" => [],
|
||||||
);
|
);
|
||||||
my $advortasks = $workarounds{$version};
|
my $advortasks = $workarounds{$version};
|
||||||
@ -843,8 +844,7 @@ sub handle_welcome_screen {
|
|||||||
|
|
||||||
sub gnome_initial_setup {
|
sub gnome_initial_setup {
|
||||||
# Handle gnome-initial-setup, with variations for live mode (the
|
# Handle gnome-initial-setup, with variations for live mode (the
|
||||||
# short run on live boot which was implemented at times from F39
|
# short run on live boot since F39), the pre-login mode (when no
|
||||||
# onwards, but currently isn't), the pre-login mode (when no
|
|
||||||
# user was created during install) and post-login mode (when user
|
# user was created during install) and post-login mode (when user
|
||||||
# was created during install). post-login mode currently (2023-08)
|
# was created during install). post-login mode currently (2023-08)
|
||||||
# unused, but may come back in future. 'livetry' indicates whether
|
# unused, but may come back in future. 'livetry' indicates whether
|
||||||
@ -961,6 +961,24 @@ sub gnome_initial_setup {
|
|||||||
wait_screen_change { assert_and_click ["next_button"]; };
|
wait_screen_change { assert_and_click ["next_button"]; };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
unless (get_var("VNC_CLIENT") || $args{live} || $relnum > 39) {
|
||||||
|
# We should be at the GOA screen, except on VNC_CLIENT case
|
||||||
|
# where network isn't working yet. click 'Skip' one time. If
|
||||||
|
# it's not visible we may have hit
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1997310 , which
|
||||||
|
# we'll handle as a soft failure
|
||||||
|
# This screen was removed from g-i-s in Jan 2024:
|
||||||
|
# https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/221
|
||||||
|
# so we don't see it on F40+, and can drop this block when
|
||||||
|
# F39 is EOL
|
||||||
|
mouse_set(100, 100);
|
||||||
|
if (check_screen "skip_button", 60) {
|
||||||
|
wait_screen_change { click_lastmatch; };
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
record_soft_failure "GOA screen not seen! Likely RHBZ #1997310";
|
||||||
|
}
|
||||||
|
}
|
||||||
send_key "shift-tab" if ($args{live} && $args{livetry});
|
send_key "shift-tab" if ($args{live} && $args{livetry});
|
||||||
# on the 'live' flow, this will launch the installer
|
# on the 'live' flow, this will launch the installer
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"height": 646,
|
|
||||||
"width": 123,
|
|
||||||
"ypos": 63,
|
|
||||||
"type": "match",
|
|
||||||
"xpos": 20
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
{
|
|
||||||
"name": "workaround",
|
|
||||||
"value": "works around anaconda title bar being visible in KDE, which it should not be"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
"leftbar_generic"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 148 KiB |
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"ypos": 316,
|
|
||||||
"type": "match",
|
|
||||||
"xpos": 534,
|
|
||||||
"width": 44,
|
|
||||||
"height": 19,
|
|
||||||
"click_point": {
|
|
||||||
"ypos": 8,
|
|
||||||
"xpos": 8
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"cockpit_updates_auto_all"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 118 KiB |
@ -2,14 +2,14 @@
|
|||||||
"area": [
|
"area": [
|
||||||
{
|
{
|
||||||
"type": "match",
|
"type": "match",
|
||||||
"ypos": 325,
|
"width": 19,
|
||||||
"xpos": 472,
|
"xpos": 235,
|
||||||
"width": 80,
|
"ypos": 264,
|
||||||
"height": 23
|
"height": 23
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"neochat_runs"
|
"apps_menu_camera"
|
||||||
]
|
]
|
||||||
}
|
}
|
BIN
needles/gnome/apps/apps_menu_cheese-20210222.png
Normal file
After Width: | Height: | Size: 40 KiB |
15
needles/gnome/apps/apps_run_cheese-20200117.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 41,
|
||||||
|
"width": 94,
|
||||||
|
"type": "match",
|
||||||
|
"height": 20,
|
||||||
|
"xpos": 279
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_run_camera"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_run_cheese-20200117.png
Normal file
After Width: | Height: | Size: 13 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"type": "match",
|
|
||||||
"xpos": 401,
|
|
||||||
"height": 119,
|
|
||||||
"ypos": 349,
|
|
||||||
"width": 198
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"maps_found_wellington"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 244 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"height": 162,
|
|
||||||
"type": "match",
|
|
||||||
"xpos": 407,
|
|
||||||
"ypos": 419,
|
|
||||||
"width": 197
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"maps_map_zoomed"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 807 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"width": 102,
|
|
||||||
"height": 318,
|
|
||||||
"xpos": 347,
|
|
||||||
"ypos": 354,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"maps_route_bike_shown"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 228 KiB |
15
needles/kde/apps/kmag_runs-20220112.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 15,
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 8,
|
||||||
|
"width": 72,
|
||||||
|
"xpos": 194
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"kmag_runs"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/kmag_runs-20220112.png
Normal file
After Width: | Height: | Size: 20 KiB |
15
needles/kde/apps/konversation_confirm_close-20220926.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 421,
|
||||||
|
"width": 54,
|
||||||
|
"type": "match",
|
||||||
|
"xpos": 533,
|
||||||
|
"height": 19
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"konversation_confirm_close"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/konversation_confirm_close-20220926.png
Normal file
After Width: | Height: | Size: 83 KiB |
15
needles/kde/apps/konversation_connect-20210929.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 370,
|
||||||
|
"type": "match",
|
||||||
|
"width": 13,
|
||||||
|
"xpos": 409,
|
||||||
|
"height": 19
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"konversation_connect"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/konversation_connect-20210929.png
Normal file
After Width: | Height: | Size: 49 KiB |
15
needles/kde/apps/konversation_runs-20220916.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 114,
|
||||||
|
"width": 83,
|
||||||
|
"height": 15,
|
||||||
|
"xpos": 516
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"konversation_runs"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/konversation_runs-20220916.png
Normal file
After Width: | Height: | Size: 72 KiB |
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"area": [
|
"area": [
|
||||||
{
|
{
|
||||||
"height": 23,
|
"xpos": 419,
|
||||||
"type": "match",
|
"ypos": 186,
|
||||||
"width": 80,
|
"width": 185,
|
||||||
"xpos": 524,
|
"height": 23,
|
||||||
"ypos": 186
|
"type": "match"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"neochat_runs"
|
"neochat_runs"
|
||||||
]
|
]
|
||||||
}
|
}
|
Before Width: | Height: | Size: 52 KiB |
@ -380,8 +380,7 @@
|
|||||||
"+START_AFTER_TEST": "%LIVE_BUILD_TEST%@%ARCH_BASE_MACHINE%",
|
"+START_AFTER_TEST": "%LIVE_BUILD_TEST%@%ARCH_BASE_MACHINE%",
|
||||||
"INSTALL": "1",
|
"INSTALL": "1",
|
||||||
"ISO": "Fedora-%SUBVARIANT%-Live-%ARCH%-%ADVISORY_OR_TASK%.iso",
|
"ISO": "Fedora-%SUBVARIANT%-Live-%ARCH%-%ADVISORY_OR_TASK%.iso",
|
||||||
"QEMURAM": "4096",
|
"QEMURAM": "4096"
|
||||||
"RETRY": "5"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"install_default_update_netinst": {
|
"install_default_update_netinst": {
|
||||||
|
@ -8,6 +8,13 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $version = get_var("VERSION");
|
my $version = get_var("VERSION");
|
||||||
my $advortask = get_var("ADVISORY_OR_TASK");
|
my $advortask = get_var("ADVISORY_OR_TASK");
|
||||||
|
# we didn't use kiwi before F40, and I don't really want to write
|
||||||
|
# an imgfac test for a release that will be dead in a week
|
||||||
|
# FIXME drop when F39 is EOL
|
||||||
|
if ($version < 40) {
|
||||||
|
record_info('notvalid', "this test cannot be run on Fedora < 40");
|
||||||
|
return;
|
||||||
|
}
|
||||||
my $rawrel = get_var("RAWREL");
|
my $rawrel = get_var("RAWREL");
|
||||||
my $branch;
|
my $branch;
|
||||||
my $repoxml;
|
my $repoxml;
|
||||||
|
@ -83,6 +83,8 @@ sub run {
|
|||||||
assert_script_run 'git clone https://pagure.io/pungi-fedora.git';
|
assert_script_run 'git clone https://pagure.io/pungi-fedora.git';
|
||||||
assert_script_run 'cd pungi-fedora/';
|
assert_script_run 'cd pungi-fedora/';
|
||||||
assert_script_run "git checkout ${branch}";
|
assert_script_run "git checkout ${branch}";
|
||||||
|
# drop cheese flatpak on f39 as it has not been bumped to f41 base
|
||||||
|
assert_script_run 'sed -i -e "s,app/org.gnome.Cheese/[a-z_0-9]*/stable,,g" fedora.conf' if ($version eq "39");
|
||||||
assert_script_run 'curl --retry-delay 10 --max-time 30 --retry 5 -o ostree-parse-pungi.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/ostree-parse-pungi.py', timeout => 180;
|
assert_script_run 'curl --retry-delay 10 --max-time 30 --retry 5 -o ostree-parse-pungi.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/ostree-parse-pungi.py', timeout => 180;
|
||||||
my $loraxargs = script_output "python3 ostree-parse-pungi.py $lcsubv $arch";
|
my $loraxargs = script_output "python3 ostree-parse-pungi.py $lcsubv $arch";
|
||||||
|
|
||||||
|
@ -14,6 +14,12 @@ sub run {
|
|||||||
# Add a new alarm using the one minute button
|
# Add a new alarm using the one minute button
|
||||||
assert_screen("clocks_timer_page");
|
assert_screen("clocks_timer_page");
|
||||||
assert_and_click("clocks_button_timer_minute");
|
assert_and_click("clocks_button_timer_minute");
|
||||||
|
# since GNOME 46, that was a 'quickstart', on older GNOME we
|
||||||
|
# have to hit start; remove this when no more F39 testing
|
||||||
|
if (check_screen("clocks_button_timer_start", 5)) {
|
||||||
|
wait_still_screen(2);
|
||||||
|
click_lastmatch;
|
||||||
|
}
|
||||||
sleep(10);
|
sleep(10);
|
||||||
assert_and_click("clocks_button_timer_pause");
|
assert_and_click("clocks_button_timer_pause");
|
||||||
assert_screen("clocks_timer_paused");
|
assert_screen("clocks_timer_paused");
|
||||||
|
@ -12,10 +12,12 @@ sub run {
|
|||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_camera');
|
start_with_launcher('apps_menu_camera');
|
||||||
# Click the camera access dialog
|
# Check that is started or we see the camera access dialog
|
||||||
assert_and_click 'grant_access';
|
assert_screen ['apps_run_camera', 'grant_access'];
|
||||||
# Check we see the app run
|
if (match_has_tag 'grant_access') {
|
||||||
assert_screen 'apps_run_camera';
|
click_lastmatch;
|
||||||
|
assert_screen 'apps_run_camera';
|
||||||
|
}
|
||||||
# Register application
|
# Register application
|
||||||
register_application("gnome-snapshot");
|
register_application("gnome-snapshot");
|
||||||
# Close the application
|
# Close the application
|
||||||
|
@ -3,14 +3,18 @@ use strict;
|
|||||||
use testapi;
|
use testapi;
|
||||||
use utils;
|
use utils;
|
||||||
|
|
||||||
# This test checks that Neochat starts.
|
# This test checks that Kmag starts.
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
# FIXME after F39 is stable, drop this test entirely
|
||||||
|
my $relnum = get_release_number;
|
||||||
|
return unless ($relnum < 40);
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
menu_launch_type 'neochat';
|
menu_launch_type 'kmag';
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen "neochat_runs";
|
assert_screen 'kmag_runs', timeout => 60;
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
}
|
}
|
39
tests/apps_startstop/kde/konversation.pm
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
use base "installedtest";
|
||||||
|
use strict;
|
||||||
|
use testapi;
|
||||||
|
use utils;
|
||||||
|
|
||||||
|
# This test checks that Konversation starts.
|
||||||
|
|
||||||
|
sub run {
|
||||||
|
my $self = shift;
|
||||||
|
my $relnum = get_release_number;
|
||||||
|
# neochat replaced konversation in F40+; while we're still running
|
||||||
|
# this test on F39 the test has to handle both...
|
||||||
|
my $app = $relnum > 39 ? 'neochat' : 'konversation';
|
||||||
|
|
||||||
|
# Start the application
|
||||||
|
menu_launch_type $app;
|
||||||
|
# Connect to Freenode
|
||||||
|
assert_and_click "${app}_connect", timeout => 60 if ($app eq 'konversation');
|
||||||
|
# Check that it is started
|
||||||
|
assert_screen "${app}_runs";
|
||||||
|
# Close the application
|
||||||
|
if ($app eq 'konversation') {
|
||||||
|
send_key 'alt-f4';
|
||||||
|
wait_still_screen 2;
|
||||||
|
assert_and_click "${app}_confirm_close";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sub test_flags {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
||||||
|
# vim: set sw=4 et:
|
@ -45,6 +45,9 @@ sub run {
|
|||||||
elsif ($current =~ "silverblue") {
|
elsif ($current =~ "silverblue") {
|
||||||
my $relnum = get_release_number;
|
my $relnum = get_release_number;
|
||||||
$rebase = $relnum - 1;
|
$rebase = $relnum - 1;
|
||||||
|
# avoid rebasing 39 > 38 due to
|
||||||
|
# https://github.com/fedora-silverblue/issue-tracker/issues/470
|
||||||
|
$rebase = "40" if ($rebase eq "38");
|
||||||
# on update tests, just rebase to the 'official' ref for the
|
# on update tests, just rebase to the 'official' ref for the
|
||||||
# release, as opposed to the custom ref we used when building;
|
# release, as opposed to the custom ref we used when building;
|
||||||
# this should be more reliable than a different release
|
# this should be more reliable than a different release
|
||||||
|