Skip to content

Commit

Permalink
Fix sporadic fails in disable_boot_menu_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
manfredi committed Nov 13, 2024
1 parent 6c0dcee commit cdd2af0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/YaST/Bootloader/BootCodeOptionsPage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ package YaST::Bootloader::BootCodeOptionsPage;
use parent 'Installation::Navigation::NavigationBase';
use strict;
use warnings;
use YuiRestClient::Wait;

sub init {
my ($self) = @_;
Expand Down Expand Up @@ -91,6 +92,12 @@ sub uncheck_write_to_mbr {

sub switch_to_bootloader_options_tab {
my ($self) = @_;
YuiRestClient::Wait::wait_until(object => sub {
return $self->{tab_boot_loader_settings}->exist(); },
timeout => 1800,
interval => 10,
message => "Tab 'Bootloader Options' is not loaded."
);
$self->{tab_boot_loader_settings}->select('Bootloader Options');
}

Expand Down

0 comments on commit cdd2af0

Please sign in to comment.