Ver Fonte

Remove eval around drag test in 02-webelement.t

for #158: Drag no longer blows up the test now that it's carping instead
of invoking an invalid endpoint.
Daniel Gempesaw há 11 anos atrás
pai
commit
ef2795516f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      t/02-webelement.t

+ 1 - 1
t/02-webelement.t

@@ -106,7 +106,7 @@ IMAGES: {
     my $y = $ret->{'y'};
   TODO: {
         local $TODO = "drag doesn't appear to be working currently in selenium server";
-        eval {$ret = $elem->drag(200,200);};
+        $ret = $elem->drag(200,200);
         $ret = $elem->get_element_location();
         is($ret->{'x'}, ($x+200), 'Moved to new x coord');
         is($ret->{'y'}, ($y+200), 'Moved to new y coord');