Merge pull request #5163 from solgenomics/audit-error-checking
[sgn.git] / t / selenium2 / search / locus.t
blob499d4ecca612b67d1ebd7e861ec4b4256559e925
2 use strict;
3 use lib 't/lib';
5 use Test::More;
6 use SGN::Test::WWW::WebDriver;
8 my $d = SGN::Test::WWW::WebDriver->new();
10 $d->get_ok('/search/locus');
11 ok($d->driver()->get_page_source() =~ /Search Genes and Loci/, "Search page title presence");
12 ok($d->driver()->get_page_source() =~ /Advanced Search Options/, "Advanced search options button present");
13 sleep(2);
14 ok($d->driver()->get_page_source() =~ /test2/, "Test2 locus present in search results");
16 done_testing();