It turns out the test did not fill any values in the form, which was not as intended. Updated test so that it does.