petdance/test-www-mechanize

submit_form_ok succeeds even if disabled/readonly inputs were "changed"

Opened this issue · 0 comments

It makes sense: the form was submitted successfully. However, it was not populated successfully.

It would be good to fail if the script tries to set values for fields that are disabled.

I'll come back to this with a patch if I get the opportunity to do so before anyone else :)