submit_form_ok()'s failed test location is not reported correctly
Closed this issue · 2 comments
leto commented
There is no form numbered 1 at /home/leto/local-lib/lib/perl5/WWW/Mechanize.pm line 1896.
Somewhere in Test::WWW::Mechanize needs a:
local $Test::Builder::Level = $Test::Builder::Level + 1;
petdance commented
Working on a test for this. Seems that a failed submit_form_ok() just hangs.
petdance commented
Turns out that the "There is no form numbered...." is from a die
in WWW::Mechanize. It's not from the Test::Builder. This is something we can't fix in Test::WWW::Mechanize.