Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / t / legacy / validate / qtl.t
blobd5030b6cbd83bb7337f86a8149c01e90b60d04ab
1 =head1 NAME
3 population.t - tests for cgi-bin/phenome/population*
5 =head1 DESCRIPTION
7 Tests for cgi-bin/phenome/population/*
9 =head1 AUTHORS
11 Jonathan "Duke" Leto
13 =cut
15 use strict;
16 use Test::More;
17 use Test::WWW::Mechanize;
19 use lib 't/lib';
20 use SGN::Test qw/validate_urls/;
22 my $base_url = $ENV{SGN_TEST_SERVER};
23 my $url      = "/phenome/qtl_analysis.pl?population_id=12&cvterm_id=47515";
25 my $mech = Test::WWW::Mechanize->new;
26 $mech->get("$base_url/$url");
27 if ($mech->content =~ m/temp dir .* not (found|writable)|Failed to obtain lock|failed to submit cluster job/) {
28     plan skip_all => "Skipping QTL Analysis page due to incomplete configuration";
29 } else {
30     validate_urls({
31         "QTL Analysis Page" => $url ,
32         });
35 done_testing;