os-autoinst-distri-rocky-mi.../tests
Adam Williamson d1e7b89efd Fix a potential race in desktop update test
https://openqa.stg.fedoraproject.org/tests/424393 is a failure
where the 'Download' [updates] button was already visible when
we went to the tab. We already checked whether an 'apply' button
is visible and skipped the 'refresh' click if so, but because
the 'download' button is a new thing, we weren't skipping the
'refresh' click if 'download' was already visible.

So in this case, even though we could already see 'download', we
went ahead and clicked 'refresh'...then *immediately* started
looking for 'download'. It seems that Software did not refresh
and remove the 'Download' button *immediately* when we pressed
'refresh' - it left the 'Download' button visible briefly, and
*in this brief window*, we clicked it. *Then* Software kinda
'noticed' we'd clicked 'Update', and it seems it just sort of
throws away our click on 'Download' at that point and does the
refresh.

So at that point, the test thinks it's clicked 'Download' and
expects to see 'Apply', but actually the 'Download' click got
more or less thrown away, so the test fails, sitting at the
'Download' button.

To solve this, let's just extend the existing check to skip the
'refresh' click if 'download' *or* 'apply' are already visible.

There is a sort of possibility here that we could wind up
downloading and installing some updates that existed and were
noticed *before* we did our python3-kickstart trick, but not
install the python3-kickstart update, and cause the test to fail
because of that, but that doesn't seem to have happened before
when we were seeing the 'update' button, so I think I'm not
going to borrow trouble. If it happens, we'll deal with it I
guess.

The comment talks only about KDE, but clearly it can be the case
that an automatic check makes the button visible on GNOME too,
so let's rewrite the comment too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-17 12:10:06 -08:00
..
_advisory_post.pm Factor meat out of advisory_post and do it in postfail too 2018-12-12 22:17:29 -08:00
_advisory_update.pm Add a test of bootchain stuff for updates 2018-10-04 16:43:15 -07:00
_anaconda_network_static.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
_boot_to_anaconda.pm Have kickstart tests handle RHBZ#1618928 too 2018-08-19 10:03:27 -04:00
_check_install_source.pm Work around an anaconda logging bug that showed up today 2018-06-28 15:13:06 -07:00
_collect_data.pm Move collect_data and console_shutdown to tty4... 2018-03-09 22:06:18 -08:00
_console_avc_crash.pm Add a softfail workaround for #1600823 2018-07-13 00:39:53 -07:00
_console_login.pm Fix some minor syntax errors in previous commit 2018-06-13 10:11:53 -07:00
_console_shutdown.pm Disable hidden grub menu for uploaded base installs 2018-10-12 15:36:55 -07:00
_console_wait_login.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
_console_wait_login_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
_do_install_and_reboot.pm Use 30s timeout on the check_screen in the workaround 2018-12-13 15:29:35 -08:00
_graphical_input.pm Tweak _graphical_input to work with transparent top bar 2017-07-10 14:41:57 -07:00
_graphical_input_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
_graphical_wait_login.pm Drop the workaround for #1625572 2018-09-16 08:39:30 -07:00
_graphical_wait_login_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
_memcheck.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
_post_network_static.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
_setup_browser.pm Move install of Firefox into its own milestone module 2018-03-23 09:10:51 -07:00
_software_selection.pm Check default package selection is correct 2018-01-05 15:18:09 -08:00
_support_server.pm support_server: workaround RHBZ#1554390 (breaks dnsmasq on F28) 2018-05-03 14:00:41 -07:00
base_selinux.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
base_service_manipulation.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
base_services_start.pm Move the new base_services_start check to the start 2018-07-13 14:02:31 -07:00
base_system_logging.pm add base system logging test 2017-06-01 11:06:04 +02:00
base_update_cli.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
database_client.pm Bump up some more DNF timeouts due to #1516990 2017-11-23 16:01:58 -08:00
desktop_browser.pm Change up 'clean desktop' check again (use a util function) 2017-07-10 11:47:07 -07:00
desktop_notifications.pm Fix tty switching for desktop_notifications 2018-10-12 21:16:33 -07:00
desktop_terminal.pm Change up 'clean desktop' check again (use a util function) 2017-07-10 11:47:07 -07:00
desktop_update_graphical.pm Fix a potential race in desktop update test 2018-12-17 12:10:06 -08:00
disk_custom_blivet_btrfs.pm Add "PPC PReP Boot" filesystem for PowerPC blivet tests 2017-09-06 08:43:04 +02:00
disk_custom_blivet_ext3.pm Add "PPC PReP Boot" filesystem for PowerPC blivet tests 2017-09-06 08:43:04 +02:00
disk_custom_blivet_lvmthin.pm Add "PPC PReP Boot" filesystem for PowerPC blivet tests 2017-09-06 08:43:04 +02:00
disk_custom_blivet_no_swap.pm Add "PPC PReP Boot" filesystem for PowerPC blivet tests 2017-09-06 08:43:04 +02:00
disk_custom_blivet_software_raid.pm Add "PPC PReP Boot" filesystem for PowerPC blivet tests 2017-09-06 08:43:04 +02:00
disk_custom_blivet_xfs.pm Add "PPC PReP Boot" filesystem for PowerPC blivet tests 2017-09-06 08:43:04 +02:00
disk_custom_btrfs.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_btrfs_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_ext3.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_ext3_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_iscsi.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_iscsi_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_lvmthin.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_lvmthin_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_no_swap.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_no_swap_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_software_raid.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_software_raid_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_xfs.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_xfs_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_guided_delete_all.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_delete_partial.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_delete_partial_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_empty.pm Try a different workaround for RHBZ #1444225 2017-07-10 12:24:41 -07:00
disk_guided_encrypted.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_encrypted_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_encrypted_postinstall_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
disk_guided_free_space_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_multi.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_multi_empty_all.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_multi_empty_all_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_multi_postinstall.pm Revert "Modify "install_multi" test for PowerPC" 2017-09-06 08:43:04 +02:00
disk_guided_shrink.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_shrink_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
firewall_configured.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
firewall_disabled.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
freeipa_client.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
freeipa_password_change.pm Work around Firefox 'close multiple tabs' warning 2018-10-30 18:34:37 -07:00
freeipa_webui.pm Work around Firefox 'close multiple tabs' warning 2018-10-30 18:34:37 -07:00
install_arm_image_deployment.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
install_source_graphical.pm Fix install_mirrorlist_graphical test 2017-10-16 14:23:56 -07:00
install_text.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
modularity_enable_disable_module.pm Create openqa tests to test modularity. 2018-09-26 23:09:36 -07:00
modularity_install_module.pm Create openqa tests to test modularity. 2018-09-26 23:09:36 -07:00
modularity_module_list.pm Create openqa tests to test modularity. 2018-09-26 23:09:36 -07:00
modularity_update_norepo.pm Create openqa tests to test modularity. 2018-09-26 23:09:36 -07:00
realmd_join_cockpit.pm Crank sss debuglevel up to 9, and also do it for cockpit test 2018-11-30 14:58:53 -08:00
realmd_join_sssd.pm Crank sss debuglevel up to 9, and also do it for cockpit test 2018-11-30 14:58:53 -08:00
rescue_mode_encrypted.pm Brown paper bag fix: need use utils for type_safely 2018-06-24 17:21:08 -07:00
role_deploy_database_server.pm Stop using rolekit for database server role on F29+ 2018-07-10 17:54:30 -07:00
role_deploy_domain_controller.pm Add a FreeIPA replication job set 2018-08-02 09:59:40 -07:00
role_deploy_domain_controller_check.pm Add a check that FreeIPA is actually up after upgrade 2018-10-05 23:53:17 -07:00
server_cockpit_basic.pm Adjust cockpit log needles for Rawhide change 2017-07-10 10:35:27 -07:00
server_cockpit_default.pm Work around Firefox 'close multiple tabs' warning 2018-10-30 18:34:37 -07:00
server_filesystem_default.pm Add a check that correct filesystem was used on Server installs 2018-01-05 15:18:05 -08:00
server_firewall_default.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
uefi_postinstall.pm Load us console layout in uefi_postinstall too 2018-06-25 11:28:12 -07:00
upgrade_boot.pm Use mirrorlist instead of baseurl for updates tests 2018-05-18 16:41:13 -07:00
upgrade_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
upgrade_preinstall.pm Extend some boot timeouts in upgrade tests 2018-05-11 09:02:21 -07:00
upgrade_run.pm Use mirrorlist instead of baseurl for updates tests 2018-05-18 16:41:13 -07:00