refactor feature_data.mas to move info_section into the parent component. move gbrow...
[sgn.git] / t / integration / phenome.t
blobddd8bd6bf0592aefa5399ccfc840b7bb10cbe48a
1 =head1 NAME
3 t/integration/phenome.t - tests for Phenome URLs
5 =head1 DESCRIPTION
7 Tests for Phenome URLs
9 =head1 AUTHORS
11 Jonathan "Duke" Leto
13 =cut
15 use strict;
16 use warnings;
17 use Test::More;
18 use Test::JSON;
19 use lib 't/lib';
20 use SGN::Test;
21 use SGN::Test::WWW::Mechanize;
23 my $base_url = $ENV{SGN_TEST_SERVER};
24 my $mech = SGN::Test::WWW::Mechanize->new;
26 $mech->while_logged_in_all( sub {
27     my ($user_info) = @_;
28     $mech->get_ok('/phenome/qtl_form.pl');
29     $mech->submit_form_ok( {
30         form_number => 2,
31         fields => {
32         },
33     },
34     );
35     $mech->content_contains('Submit Population Details');
36     $mech->content_contains('Select Organism');
37     $mech->content_contains('Population Details');
38 });
40 done_testing;