test /job/PROJECT/JOBSET/JOB/prometheus works

Uses buildListColumns
This commit is contained in:
Graham Christensen 2022-01-14 12:24:40 -05:00
parent b37ca88fd5
commit 4a07622195

View file

@ -47,4 +47,9 @@ subtest "/job/PROJECT/JOBSET/JOB/shield" => sub {
is($data->{"schemaVersion"}, 1); is($data->{"schemaVersion"}, 1);
}; };
subtest "/job/PROJECT/JOBSET/JOB/prometheus" => sub {
my $response = request(GET '/job/' . $project->name . '/' . $jobset->name . '/' . $build->job . '/prometheus');
ok($response->is_success, "The page showing the job's prometheus data returns 200.");
};
done_testing; done_testing;