5 use Test::WWW::Mechanize;
8 use SGN::Test::WWW::Mechanize;
9 my $mech = SGN::Test::WWW::Mechanize->new;
11 $mech->while_logged_in_all(sub {
12 $mech->get_ok('/tools/blast/watch/index.pl');
13 $mech->content_contains('SGN BLAST Watch');
14 $mech->submit_form_ok({
19 database => "unigene/all_current",
26 $mech->content_contains('Your query has been added to SGN BLAST Watch.');
27 $mech->content_contains('You will receive an email when there are new results.');