Skip to content

Commit

Permalink
Merge pull request os-autoinst#17526 from Zaoliang/test-results-2023
Browse files Browse the repository at this point in the history
Change scroll direction to fix assert_and_click for openqa test
  • Loading branch information
Zaoliang authored Aug 4, 2023
2 parents 83f064a + a5f1be5 commit e51804e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/openqa/webui/test_results.pm
Original file line number Diff line number Diff line change
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 e51804e

Please sign in to comment.