Merge branch 'master' into topic/dt_feature_search
[sgn.git] / t / legacy / integration / solpeople / sequencer.t
blob55efe4acc8776de779439f378a0b05d95802664d
1 =head1 NAME
3 t/integration/solpeople/sequencer.t - tests for sequencer users on solpeople URLs
5 =head1 DESCRIPTION
7 Tests for sequencer user_types on solpeople 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 $mech = SGN::Test::WWW::Mechanize->new;
25 $mech->while_logged_in({ user_type => 'sequencer' }, sub {
26     $mech->get_ok('/solpeople/attribute_bacs.pl');
27     $mech->content_contains('How to attribute a BAC to a sequencing project');
29     $mech->get_ok('/maps/physical/clone_reg.pl');
30     $mech->content_contains('BAC Registry Viewer/Editor');
32     $mech->get_ok('/maps/physical/clone_il_view.pl');
33     $mech->content_contains('Clone IL Mapping Assignments');
34 });
36 done_testing;