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

Remove the anaconda_help test

Help support has been removed from anaconda:
https://github.com/rhinstaller/anaconda/pull/5335
so we no longer ought to test it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-11-29 12:08:49 -08:00
parent d638d8b86e
commit 4e62eb8ec5
108 changed files with 1 additions and 942 deletions

View File

@ -9,7 +9,7 @@ use testapi;
use utils;
use bugzilla;
our @EXPORT = qw/select_disks custom_scheme_select custom_blivet_add_partition custom_blivet_format_partition custom_blivet_resize_partition custom_change_type custom_change_fs custom_change_device custom_delete_part get_full_repo check_help_on_pane get_mirrorlist_url crash_anaconda_text report_bug_text/;
our @EXPORT = qw/select_disks custom_scheme_select custom_blivet_add_partition custom_blivet_format_partition custom_blivet_resize_partition custom_change_type custom_change_fs custom_change_device custom_delete_part get_full_repo get_mirrorlist_url crash_anaconda_text report_bug_text/;
sub select_disks {
# Handles disk selection. Has one optional argument - number of
@ -307,58 +307,6 @@ sub get_mirrorlist_url {
return "mirrors.fedoraproject.org/mirrorlist?repo=fedora-" . lc(get_var("VERSION")) . "&arch=" . get_var('ARCH');
}
sub check_help_on_pane {
# This subroutine opens the selected Anaconda pane and checks
# if the Help button can be clicked to obtain relevant help.
#
# Pass an argument to select particular pane to check.
my $screen = shift;
# Some Help buttons need to be accessed directly according
# to various installation steps (and not from the main hub),
# namely the Main hub Help button, Language selection Help button
# and Installation progress Help button. For the aforementioned
# step, we are skipping selecting the panes.
if ($screen ne "main" && $screen ne "language_selection" && $screen ne "installation_progress") {
send_key_until_needlematch("anaconda_main_hub_$screen", "shift-tab");
wait_screen_change { click_lastmatch; };
}
# For Help, click on the the Help button.
assert_and_click "anaconda_help_button";
# On the main hub, the Help summary is shown, from where a link
# takes us to Installation progress. This is a specific situation,
# so let's handle this differently.
if ($screen eq "main") {
# Check the Installation Summary screen.
assert_screen "anaconda_help_summary";
# Click on Installation Progress link
assert_and_click "anaconda_help_progress_link";
# Check the Installation Progress screen
assert_screen "anaconda_help_installation_progress";
}
# Otherwise, only check the relevant screen.
else {
assert_screen "anaconda_help_$screen";
}
# Close Help window
assert_and_click "anaconda_help_quit";
# Where panes were not opened, we will not close them.
if ($screen ne "main" && $screen ne "language_selection" && $screen ne "installation_progress") {
assert_and_click "anaconda_spoke_done";
}
# In the situation, when we do not arrive at main hub, we will skip
# testing that main hub is shown.
if ($screen ne "language_selection" && $screen ne "installation_progress") {
# on leaving a spoke, it is highlighted on the main hub, which
# can throw off the match here. so we'll try hitting shift-tab
# a few times to shift focus
send_key_until_needlematch("anaconda_main_hub", "shift-tab");
# things can take some time to settle after this one
wait_still_screen 10 if ($screen eq "install_destination");
}
}
sub crash_anaconda_text {
# This routine uses the Anaconda crash trigger to break the ongoing Anaconda installation to simulate
# an Anaconda crash and runs a series of steps that results in creating a bug in Bugzilla.

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 965,
"ypos": 39,
"type": "match",
"width": 37,
"height": 20
}
],
"properties": [],
"tags": [
"anaconda_help_button"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 955,
"ypos": 52,
"width": 39,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_button"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 10,
"ypos": 95,
"width": 374,
"height": 39,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_install_destination"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 28,
"width": 339,
"type": "match",
"xpos": 9,
"ypos": 108
}
],
"properties": [],
"tags": [
"anaconda_help_install_destination"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 340,
"ypos": 116,
"height": 28,
"xpos": 43,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_install_destination"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"ypos": 95,
"xpos": 303,
"width": 337,
"height": 40
}
],
"properties": [],
"tags": [
"anaconda_help_installation_progress"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"width": 304,
"height": 35,
"ypos": 107,
"xpos": 281
}
],
"properties": [],
"tags": [
"anaconda_help_installation_progress"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 35,
"type": "match",
"ypos": 115,
"width": 304,
"xpos": 314
}
],
"properties": [],
"tags": [
"anaconda_help_installation_progress"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 304,
"ypos": 115,
"xpos": 317,
"height": 35,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_installation_progress"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 115,
"type": "match",
"width": 304,
"xpos": 318,
"height": 35
}
],
"properties": [],
"tags": [
"anaconda_help_installation_progress"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 9,
"ypos": 108,
"width": 274,
"height": 27,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_installation_source"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 274,
"ypos": 134,
"xpos": 42,
"height": 27,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_installation_source"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 41,
"width": 272,
"xpos": 11,
"type": "match",
"ypos": 93
}
],
"properties": [],
"tags": [
"anaconda_help_keyboard_layout"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 249,
"height": 37,
"type": "match",
"ypos": 105,
"xpos": 9
}
],
"properties": [],
"tags": [
"anaconda_help_keyboard_layout"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 37,
"xpos": 42,
"type": "match",
"ypos": 113,
"width": 249
}
],
"properties": [],
"tags": [
"anaconda_help_keyboard_layout"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 113,
"width": 249,
"type": "match",
"height": 37,
"xpos": 43
}
],
"properties": [],
"tags": [
"anaconda_help_keyboard_layout"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 249,
"type": "match",
"ypos": 113,
"height": 37,
"xpos": 44
}
],
"properties": [],
"tags": [
"anaconda_help_keyboard_layout"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"anaconda_help_language"
],
"area": [
{
"xpos": 380,
"ypos": 170,
"width": 312,
"height": 32,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 38,
"width": 313,
"xpos": 353,
"ypos": 97,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_language_selection"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 35,
"width": 283,
"xpos": 320,
"ypos": 106
}
],
"properties": [],
"tags": [
"anaconda_help_language_selection"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 35,
"xpos": 353,
"type": "match",
"width": 283,
"ypos": 114
}
],
"properties": [],
"tags": [
"anaconda_help_language_selection"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 357,
"height": 35,
"type": "match",
"width": 287,
"ypos": 114
}
],
"properties": [],
"tags": [
"anaconda_help_language_selection"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 35,
"xpos": 358,
"width": 287,
"ypos": 114,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_language_selection"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 270,
"height": 34,
"type": "match",
"xpos": 10,
"ypos": 107
}
],
"properties": [],
"tags": [
"anaconda_help_language_support"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 270,
"ypos": 133,
"height": 34,
"xpos": 44,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_language_support"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 315,
"height": 30,
"type": "match",
"xpos": 11,
"ypos": 107
}
],
"properties": [],
"tags": [
"anaconda_help_network_host_name"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 115,
"width": 315,
"type": "match",
"height": 30,
"xpos": 45
}
],
"properties": [],
"tags": [
"anaconda_help_network_host_name"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 17,
"width": 143,
"xpos": 137,
"ypos": 727,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_progress_link"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 10,
"width": 129,
"type": "match",
"xpos": 8,
"ypos": 619
}
],
"properties": [],
"tags": [
"anaconda_help_progress_link"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 153,
"type": "match",
"height": 10,
"ypos": 662,
"width": 129
}
],
"properties": [],
"tags": [
"anaconda_help_progress_link"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 153,
"ypos": 663,
"type": "match",
"width": 129,
"height": 10
}
],
"properties": [],
"tags": [
"anaconda_help_progress_link"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 966,
"ypos": 81,
"width": 16,
"height": 13,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_quit"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 970,
"width": 16,
"ypos": 55,
"height": 13,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_quit"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 961,
"width": 16,
"type": "match",
"height": 13,
"ypos": 61
}
],
"properties": [],
"tags": [
"anaconda_help_quit"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"xpos": 966,
"height": 13,
"width": 16,
"ypos": 65
}
],
"properties": [],
"tags": [
"anaconda_help_quit"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 216,
"height": 26,
"type": "match",
"xpos": 11,
"ypos": 108
}
],
"properties": [],
"tags": [
"anaconda_help_root_password"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 26,
"type": "match",
"width": 216,
"ypos": 116,
"xpos": 43
}
],
"properties": [],
"tags": [
"anaconda_help_root_password"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 116,
"width": 216,
"type": "match",
"xpos": 44,
"height": 26
}
],
"properties": [],
"tags": [
"anaconda_help_root_password"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 44,
"height": 26,
"type": "match",
"ypos": 116,
"width": 216
}
],
"properties": [],
"tags": [
"anaconda_help_root_password"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 107,
"xpos": 10,
"type": "match",
"height": 26,
"width": 268
}
],
"properties": [],
"tags": [
"anaconda_help_select_packages"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 271,
"ypos": 132,
"height": 29,
"xpos": 43,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_select_packages"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 99,
"type": "match",
"xpos": 12,
"width": 342,
"height": 35
}
],
"properties": [],
"tags": [
"anaconda_help_summary"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 35,
"width": 314,
"type": "match",
"xpos": 9,
"ypos": 107
}
],
"properties": [],
"tags": [
"anaconda_help_summary"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 314,
"ypos": 115,
"height": 35,
"xpos": 43,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_help_summary"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"anaconda_help_summary_link"
],
"area": [
{
"xpos": 683,
"ypos": 446,
"width": 142,
"height": 14,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 12,
"ypos": 99,
"type": "match",
"height": 30,
"width": 196
}
],
"properties": [],
"tags": [
"anaconda_help_time_date"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"width": 179,
"height": 28,
"xpos": 11,
"ypos": 107
}
],
"properties": [],
"tags": [
"anaconda_help_time_date"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 115,
"width": 179,
"type": "match",
"xpos": 44,
"height": 28
}
],
"properties": [],
"tags": [
"anaconda_help_time_date"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 108,
"xpos": 11,
"type": "match",
"width": 173,
"height": 26
}
],
"properties": [],
"tags": [
"anaconda_help_user_creation"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 116,
"type": "match",
"width": 173,
"xpos": 43,
"height": 26
}
],
"properties": [],
"tags": [
"anaconda_help_user_creation"
]
}

Some files were not shown because too many files have changed in this diff Show More