Skip to content

Commit

Permalink
Merge pull request #5257 from os-autoinst/needle_image_result
Browse files Browse the repository at this point in the history
tests: Improve failure when comparing expected image results fails
  • Loading branch information
mergify[bot] authored Jul 21, 2023
2 parents 877fa4a + 7170efd commit 4a73fe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/ui/18-tests-details.t
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ subtest 'show job modules execution time' => sub {
subtest 'displaying image result with candidates' => sub {
$driver->find_element('[href="#step/bootloader/1"]')->click();
wait_for_ajax;
is_deeply(find_candidate_needles, {'inst-bootmenu' => []}, 'correct tags displayed');
my $needles = find_candidate_needles;
is_deeply($needles, {'inst-bootmenu' => []}, 'correct tags displayed') or diag explain $needles;
};

subtest 'filtering' => sub {
Expand Down

0 comments on commit 4a73fe6

Please sign in to comment.