add support to TestMode plugin for forcing conf vars to be treated as absolute or...
[sgn.git] / t / validate / qtl.t
blob9f178174d31707f279781335cf84c2319e7b072e
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/population_indls.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     plan tests => 7;
31     validate_urls({ "QTL Analysis Page" => $url });