6 use Test::More tests=>13;
7 use SGN::Test::WWW::Mechanize;
9 my $m = SGN::Test::WWW::Mechanize->new();
11 $m->while_logged_in( { user_type => 'curator' }, sub {
13 $m->get_ok('/tools/genefamily/search.pl');
16 form_name => 'genefamily_detail_form',
17 fields => { 'genefamily_id' => 0,
22 $m->submit_form_ok($form1, "submit genefamily form");
28 form_name => 'member_search_form',
30 member_id => 'At1g13780',
35 $m->submit_form_ok($form2, "submit member form");
37 $m->content_like(qr/At1g13780/, "found required sequence");
41 form_name => 'genefamily_display_form',
44 $m->submit_form_ok($f3, "click view family button");
47 form_name => 'alignment_viewer_form',
49 $m->submit_form_ok($f4, "click alignment button");
52 local $TODO = 'not all gene family test data created';
53 $m->content_like(qr/At1g13780/i, "id on align viewer page");