1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 23:33:07 +00:00

Drop workaround_ble26, bug was fixed months ago

https://pagure.io/background-logo-extension/issue/26 was fixed
months back, we don't need this any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-10-15 15:31:17 -07:00
parent a008ffb8be
commit 1c33d07d38
8 changed files with 1 additions and 48 deletions

View File

@ -7,7 +7,7 @@ use Exporter;
use lockapi; use lockapi;
use testapi; use testapi;
our @EXPORT = qw/run_with_error_check type_safely type_very_safely desktop_vt boot_to_login_screen console_login console_switch_layout desktop_switch_layout console_loadkeys_us do_bootloader boot_decrypt check_release menu_launch_type repo_setup setup_workaround_repo cleanup_workaround_repo gnome_initial_setup anaconda_create_user check_desktop download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages start_with_launcher quit_with_shortcut lo_dismiss_tip disable_firefox_studies select_rescue_mode copy_devcdrom_as_isofile bypass_1691487 get_release_number workaround_ble26 check_left_bar check_top_bar check_prerelease check_version spell_version_number _assert_and_click is_branched rec_log click_unwanted_notifications repos_mirrorlist register_application get_registered_applications solidify_wallpaper/; our @EXPORT = qw/run_with_error_check type_safely type_very_safely desktop_vt boot_to_login_screen console_login console_switch_layout desktop_switch_layout console_loadkeys_us do_bootloader boot_decrypt check_release menu_launch_type repo_setup setup_workaround_repo cleanup_workaround_repo gnome_initial_setup anaconda_create_user check_desktop download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages start_with_launcher quit_with_shortcut lo_dismiss_tip disable_firefox_studies select_rescue_mode copy_devcdrom_as_isofile bypass_1691487 get_release_number check_left_bar check_top_bar check_prerelease check_version spell_version_number _assert_and_click is_branched rec_log click_unwanted_notifications repos_mirrorlist register_application get_registered_applications solidify_wallpaper/;
# We introduce this global variable to hold the list of applications that have # We introduce this global variable to hold the list of applications that have
# registered during the apps_startstop_test when they have sucessfully run. # registered during the apps_startstop_test when they have sucessfully run.
@ -1046,18 +1046,6 @@ sub bypass_1691487 {
} }
} }
sub workaround_ble26 {
# FIXME: workaround for
# https://pagure.io/background-logo-extension/issue/26
# when using the overview type-to-search box
my $relnum = get_release_number;
if (get_var("DESKTOP") eq "gnome" && $relnum > 32) {
# FIXME: workaround https://pagure.io/background-logo-extension/issue/26
assert_and_click "overview_search_box";
}
}
sub menu_launch_type { sub menu_launch_type {
# Launch an application in a graphical environment, by opening a # Launch an application in a graphical environment, by opening a
# launcher, typing the specified string and hitting enter. Pass # launcher, typing the specified string and hitting enter. Pass
@ -1067,7 +1055,6 @@ sub menu_launch_type {
send_key 'alt-f1'; send_key 'alt-f1';
# srsly KDE y u so slo # srsly KDE y u so slo
wait_still_screen 3; wait_still_screen 3;
workaround_ble26;
type_very_safely $app; type_very_safely $app;
send_key 'ret'; send_key 'ret';
} }

View File

@ -1,16 +0,0 @@
{
"area": [
{
"height": 19,
"type": "match",
"width": 72,
"ypos": 61,
"xpos": 357
}
],
"properties": [],
"tags": [
"LANGUAGE-japanese",
"overview_search_box"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 803 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 19,
"type": "match",
"width": 66,
"xpos": 357,
"ypos": 59
}
],
"properties": [],
"tags": [
"overview_search_box"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 801 KiB

View File

@ -18,7 +18,6 @@ sub run {
if (get_var("LANGUAGE") eq 'japanese') { if (get_var("LANGUAGE") eq 'japanese') {
# wait a bit for input switch to complete # wait a bit for input switch to complete
sleep 3; sleep 3;
workaround_ble26;
# assume we can test input from whatever 'alt-f1' opened # assume we can test input from whatever 'alt-f1' opened
type_safely "yama"; type_safely "yama";

View File

@ -9,7 +9,6 @@ sub run {
my $self = shift; my $self = shift;
# start the settings application # start the settings application
send_key 'alt-f1'; send_key 'alt-f1';
workaround_ble26;
type_very_safely 'settings'; type_very_safely 'settings';
send_key 'ret'; send_key 'ret';

View File

@ -11,7 +11,6 @@ sub run {
# open the application # open the application
send_key 'alt-f1'; send_key 'alt-f1';
wait_still_screen 2; wait_still_screen 2;
workaround_ble26;
type_very_safely 'terminal'; type_very_safely 'terminal';
send_key 'ret'; send_key 'ret';
wait_still_screen 5; wait_still_screen 5;