petdance/test-www-mechanize — Issue #9: submit_form_ok
Author: forwardever
Created: 2011-11-10 15:03:17+00:00
State: open

it seems that submit_form_ok works without problems even if form fields with the required names do not exist in the form

$mech->submit_form_ok({
form_number => 1,
fields => {
password => 'test',
password_confirm => 'test'
}
});

but fields in the form are named password1 and password_confirm1