Skip to content

Commit

Permalink
Visit all tests and test details
Browse files Browse the repository at this point in the history
  • Loading branch information
baierjan committed Aug 30, 2024
1 parent cf9c9a5 commit cf3312c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.pm
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ sub load_openQA_tests() {
else {
loadtest 'openQA/dashboard';
loadtest 'openQA/login';
# testing from git does not schedule tests so far
loadtest 'openQA/tests' unless get_var('OPENQA_FROM_GIT');
}
}

Expand Down
13 changes: 13 additions & 0 deletions tests/openQA/tests.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use Mojo::Base 'openQAcoretest';
use testapi;
use utils;

sub run {
assert_and_click 'openqa-all-tests';
send_key_until_needlematch 'openqa-scheduled-test', 'down';
assert_and_click 'openqa-scheduled-test';
assert_screen 'openqa-test-details';
assert_and_click 'openqa-all-tests';
}

1;

0 comments on commit cf3312c

Please sign in to comment.