Project

General

Profile

Actions

action #121807

closed

coordination #121879: [epic] Improvements in the test automation framework with libyui-rest-api

Pass timeout/interval when using regex to find UI element with libyui-rest-api client

Added by tinawang123 almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2022-12-12
Due date:
% Done:

0%

Estimated time:

Description

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:

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


Related issues 1 (0 open1 closed)

Related to qe-yam - action #125561: Encapsulate the timeout scale multiplier in libyui-rest-api test frameworkResolvedcoolgw2023-03-08

Actions
Actions

Also available in: Atom PDF