Skip to content

Commit

Permalink
Add timeout forassert_and_click for test_results of openqa
Browse files Browse the repository at this point in the history
we have performance issue with test_results of openqa on Leap. Add timeout to work round.
See https://progress.opensuse.org/issues/133718
  • Loading branch information
Zaoliang committed Aug 3, 2023
1 parent 795175c commit b3f4089
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/openqa/webui/test_results.pm
Expand Up @@ -11,7 +11,6 @@ use warnings;
use base "x11test";
use testapi;


my $tutorial_disabled;

sub upload_autoinst_log {
Expand Down Expand Up @@ -49,9 +48,9 @@ sub run {
# At this point the openQA job might still be running or already finished.
# Ensure to show finished results at the bottom of the screen whenever the
# page finished loading
send_key_until_needlematch 'openqa-job-minimalx', 'end';
send_key_until_needlematch 'openqa-job-minimalx', 'up';
click_lastmatch;
assert_and_click 'openqa-job-details';
assert_and_click('openqa-job-details', timeout => 60);
assert_screen 'openqa-testresult', 600;
}

Expand Down

0 comments on commit b3f4089

Please sign in to comment.