Tweaks to trials.mas: hides breeding program table in non-accession stocks and rename...
[sgn.git] / t / legacy / integration / locus_display.t
blob359bd5112c5ccd196f20138d496c74ebf6c5fed9
1 =head1 NAME
3 t/validate/locus_display.t - validation tests for locus_display.pl
5 =head1 DESCRIPTION
7 Validation tests for locus_display.pl
9 =head1 AUTHORS
11 Jonathan "Duke" Leto
13 =cut
15 use strict;
16 use warnings;
17 use Test::More tests => 10;
19 use lib 't/lib';
20 use SGN::Test::WWW::Mechanize;
22 my $url = "/phenome/locus_display.pl?locus_id=428";
24 my @subsections = split /\n/,<<SUBSECTIONS;
25 Locus details
26 Notes and figures
27 Accessions and images
28 Alleles
29 Associated loci
30 Associated loci - graphical view
31 SolCyc links
32 Sequence annotations
33 Literature annotation
34 Ontology annotations
35 SUBSECTIONS
38 my $mech = SGN::Test::WWW::Mechanize->new;
39 $mech->get( $url );
41 for my $subsection (@subsections) {
42     $mech->content_contains($subsection, "$url contains $subsection");