Avoid race conditions in votation type tests
Avoid race conditions in votation type tests

We were performing an AJAX request and then a "normal" request without
checking the AJAX request had finished. Sometimes it resulted in the
normal request finishing because the AJAX request did, causing the test
to fail.

consul/consul,usabi/consul_san_borondon,consul/consul,usabi/consul_san_borondon,usabi/consul_san_borondon,consul/consul,usabi/consul_san_borondon,consul/consul,consul/consul