diff options
author | matthew <matthew> | 2009-10-22 15:32:11 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-10-22 15:32:11 +0000 |
commit | c741c6da90f61c12dcbdea42e4dd00ec71484f7c (patch) | |
tree | 8776529d9dfe825d270e6659f6d804c82b05d647 | |
parent | 6bbe2ac53ec78f98e2551925302088d52edd20dd (diff) |
Try button click.
-rwxr-xr-x | bin/test-run | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/test-run b/bin/test-run index 5607bb5ef..322aa563a 100755 --- a/bin/test-run +++ b/bin/test-run @@ -18,7 +18,7 @@ # Admin # Whatever I've missed! -my $rcsid = ''; $rcsid .= '$Id: test-run,v 1.26 2009-10-22 15:10:51 matthew Exp $'; +my $rcsid = ''; $rcsid .= '$Id: test-run,v 1.27 2009-10-22 15:32:11 matthew Exp $'; use strict; require 5.8.0; @@ -230,7 +230,7 @@ sub submit_report { 'tile_' . $x . '.' . $y . '.y' => 158, submit_map => 1}); $wth->browser_check_contents('<h1>' . $messages[1] . '</h1>'); - my $fields = { submit_problem => 'Submit', + my $fields = { submit_map => 1, x => $x, y => $y, pc => $postcode, @@ -252,6 +252,7 @@ sub submit_report { $fields->{council} = $council; } $wth->browser_submit_form(form_name => 'mapForm', + button => 'submit_problem', fields => $fields ); } |