test /job/PROJECT/JOBSET/JOB works

Uses buildListColumns
This commit is contained in:
Graham Christensen 2022-01-14 12:25:34 -05:00
parent 4a07622195
commit 2de40f86ec

View file

@ -19,6 +19,11 @@ my $build = $builds->{"empty_dir"};
my $jobset = $build->jobset; my $jobset = $build->jobset;
my $project = $build->project; my $project = $build->project;
subtest "/job/PROJECT/JOBSET/JOB" => sub {
my $response = request(GET '/job/' . $project->name . '/' . $jobset->name . '/' . $build->job);
ok($response->is_success, "The page showing the job's overview data returns 200.");
};
subtest "/job/PROJECT/JOBSET/JOB/all" => sub { subtest "/job/PROJECT/JOBSET/JOB/all" => sub {
my $response = request(GET '/job/' . $project->name . '/' . $jobset->name . '/' . $build->job . '/all'); my $response = request(GET '/job/' . $project->name . '/' . $jobset->name . '/' . $build->job . '/all');
ok($response->is_success, "The page showing the job's builds returns 200."); ok($response->is_success, "The page showing the job's builds returns 200.");