forked from lix-project/hydra
test /job/PROJECT/JOBSET/JOB/prometheus works
Uses buildListColumns
This commit is contained in:
parent
b37ca88fd5
commit
4a07622195
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue