7 use SGN::Test::WWW::WebDriver;
9 my $t = SGN::Test::WWW::WebDriver -> new();
11 $t->get_ok('/tools/onto');
15 my $mc = $t->find_element_ok("open_cvterm_67202", "id", "get ontology browser link for opening cellular_component");
17 $mc->click(); # open the link
21 #print STDERR $t->driver->get_page_source();
23 my $cell = $t->find_element_ok("cvterm_id_67546", "id", "get ontology browser link for cvterm detail page for a cell");
31 ok($t->driver()->get_page_source() =~ m/The basic structural and functional unit of all organisms/, "find data on cell on detail page");