Project

General

Profile

action #121807

Updated by JERiveraMoya almost 2 years ago

#### Motivation **Motivation** 
 When using regex to find UI element with libyui-rest-api we don't pass timeout/interval 

 Failed case: https://openqa.suse.de/tests/10143979#step/install_SLES/2 

 See snippet of the code here: 
 ``` It cannot work because:  
 sub find_widgets { 
     my ($self, $args) = @_;      $self->resolve_filter() unless $self->{filter}->is_resolved(); 
     return $self->{widget_controller}->find({ 
             filter => $self->{filter}->get_filter(), 
             timeout => $args->{timeout}, 
             interval => $args->{interval} 
     }); 
 } 
 $self->resolve_filter() unless $self->{filter}->is_resolved(); # It doesn't set timeout 
 ``` 
 #### Acceptance criteria 
 **AC1**: Pass timeout and interval when resolving the exact value for a filter using regex in libyui-rest-api client

Back